namespace DOAN.Model.MES.product { /// /// 生产工单 /// [SugarTable("pro_workorder")] public class ProWorkorder { /// /// 雪花id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public string Id { get; set; } /// /// 工单号 /// [SugarColumn(ColumnName = "workorder",IsPrimaryKey = true)] public string Workorder { get; set; } /// /// 存货编码 /// [SugarColumn(ColumnName = "production_code")] public string ProductionCode { get; set; } /// /// 产品名称 /// [SugarColumn(ColumnName = "production_name")] public string ProductionName { get; set; } /// /// 规格型号 /// [SugarColumn(ColumnName = "specification")] public string Specification { get; set; } /// /// 客户编码 /// [SugarColumn(ColumnName = "custom_code")] public string CustomCode { get; set; } /// /// 单位 /// public string Unit { get; set; } /// /// 交货数量 /// [SugarColumn(ColumnName = "delivery_num")] public int? DeliveryNum { get; set; } /// /// 是否是纸箱 /// [SugarColumn(ColumnName = "is_carton")] public int? IsCarton { get; set; } /// /// 装箱容量 /// [SugarColumn(ColumnName = "package_capacity")] public int? PackageCapacity { get; set; } /// /// 组别 /// [SugarColumn(ColumnName = "group_code")] public string GroupCode { get; set; } /// /// 线别 /// [SugarColumn(ColumnName = "line_code")] public string LineCode { get; set; } /// /// 序号 /// public int? Sort { get; set; } /// /// 工单日期 /// [SugarColumn(ColumnName = "workorder_date")] public DateTime? WorkorderDate { get; set; } /// /// 优先级 1-100 /// public int? Priority { get; set; } /// /// 工单状态 /// public int? Status { get; set; } /// /// 节拍 (秒) /// public int? Beat { get; set; } /// /// 工单开始时间 /// [SugarColumn(ColumnName = "start_time")] public DateTime? StartTime { get; set; } /// /// 工单结束时间 /// [SugarColumn(ColumnName = "end_time")] public DateTime? EndTime { get; set; } /// /// 备注 /// public string Remark { 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; } } }