using FreeSql.DataAnnotations; using System; namespace GroupLine.Model { /// /// 系统配置信息 /// [Table(Name = "dbo.SystemConfig")] public class SystemConfig { /// /// 主键 /// [Column(IsPrimary = true)] public Guid Id { get; set; } /// /// 区域 /// [Column(Name = "Region", IsNullable = false, StringLength = 20)] public string Region { get; set; } /// /// 分类 /// [Column(Name = "Category", IsNullable = false, StringLength = 20)] public string Category { get; set; } /// /// 属性名称 /// [Column(Name = "Name", IsNullable = false, StringLength = 20)] public string Name { get; set; } /// /// 属性值 /// [Column(Name = "Value", IsNullable = false, StringLength = 200)] public string Value { get; set; } /// /// 创建时间 /// [Column(ServerTime = DateTimeKind.Local, CanUpdate = true)] public DateTime CreateTime { get; set; } } }