using Chloe.Annotations; namespace WorkerSynReport; [Table(Name = "WarnTable")] public class WarnTable { /// /// 主键 /// [Column(IsPrimaryKey = true)] [NonAutoIncrement] public long Id { get; set; } public int AlarmId { get; set; } public string CnInfo { get; set; } public string OtherInfo { get; set; } public DateTime CreateTime { get; set; } public DateTime UpdateTime { get; set; } public int Num { get; set; } public int Status { get; set; } } [Table(Name = "WarnTableInfo")] public class WarnTableInfo { /// /// 主键 /// [Column(IsPrimaryKey = true)] [AutoIncrement] public int Id { get; set; } public int AlarmId { get; set; } public string CnInfo { get; set; } public string OtherInfo { get; set; } public DateTime CreateTime { get; set; } public DateTime UpdateTime { get; set; } public int Num { get; set; } public int Status { get; set; } }