using SqlSugar; namespace RIZO.Admin.WebApi.PLC.Model { /// /// PLC返回的工位工序结果 /// [SugarTable("plc_operation_result")] public class PlcOperationResult { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 条码 /// public string Sn { get; set; } /// /// 工站编码 /// public string Workstationcode { get; set; } /// /// 工站结果;1OK,2NG /// public int? Result { get; set; } /// /// 数量 /// public int? Qty { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "created_by")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "updated_by")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time")] public DateTime? UpdatedTime { get; set; } } }