using System; namespace Util.Tests.Configs; /// /// 测试配置 /// public class TestConfig { /// /// 测试标识 /// public static Guid Id { get; } = "08255312-DF8E-4F0C-AD4D-638B3A63D889".ToGuid(); /// /// 测试值 /// public static string Value { get; } = "abc"; /// /// 测试整型值 /// public static int IntValue { get; } = 123; /// /// 测试长整型值 /// public static long LongValue { get; } = 123456789; /// /// 测试Guid值 /// public static Guid GuidValue { get; } = "04255312-DF8E-4F0C-AD4D-638B3A63D868".ToGuid(); /// /// 测试布尔值 /// public static bool BoolValue { get; } = true; /// /// 测试float值 /// public static float FloatValue { get; } = 123.45F; /// /// 测试double值 /// public static double DoubleValue { get; } = 12345.67; /// /// 测试decimal值 /// public static decimal DecimalValue { get; } = 12345.67M; /// /// 测试日期值 /// public static DateTime? DateTimeValue { get; } = "2012-12-12 12:12:12".ToDateTime(); }