using FreeSql.DataAnnotations; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mesnac.Action.ChemicalWeighing.FreeDb { [Table(Name = "WarnTable")] public class WarnTable { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = false)] 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(IsPrimary = true, IsIdentity = true)] 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; } } }