using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrpaonEMS.Model { [Table(Name = "ConfigDbData")] public class ConfigDbData { /// /// 主键 自增主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 名称信息 /// [Column(Name = "Name", IsNullable = false, StringLength = 50)] public string Name { get; set; } /// /// 分类 /// [Column(Name = "Category", IsNullable = false, StringLength = 20)] public string Category { get; set; } /// /// 值和数据 /// [Column(Name = "Value", IsNullable = false, StringLength = 30)] public string Value { get; set; } /// /// 创建时间 /// [Column(DbType = "datetime",CanUpdate =true)] public DateTime CreateTime { get; set; } } }