using SqlSugar; using System; namespace WCS.Entity { /// /// 协议数据抽象类,所有的设备具体协议信息都需继承该类 /// public abstract class WCS_PROTOCOLDATA : OBJ { /// [SugarColumn(IsPrimaryKey = true, ColumnDescription = "ID")] public override int ID { get; set; } /// /// 设备编号 /// [SugarColumn(ColumnDescription = "设备编号")] public string DEVICECOD { get; set; } /// /// 设备详细信息 /// [Navigate(NavigateType.OneToOne, nameof(DEVICECOD))] public WCS_DEVICEHdr DEVICE { get; set; } /// /// 确认时间 /// [SugarColumn(ColumnDescription = "确认时间")] public DateTime FRAME { get; set; } /// /// 最后更新 /// [SugarColumn(ColumnDescription = "最后更新")] public bool ISLAST { get; set; } /// /// WCS版本号 /// [SugarColumn(ColumnDescription = "WCS版本号")] public int WCSVERSION { get; set; } } }