namespace DOAN.Model.MES.product { /// /// 工单 /// [SugarTable("pro_workorder")] public class ProWorkorder { /// /// 雪花 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public string Id { get; set; } /// /// 工单号(一旦确定,不可更改) /// public string Workorder { get; set; } /// /// 主体品名 /// [SugarColumn(ColumnName = "production_name")] public string productionName { get; set; } /// /// 主体型号 /// [SugarColumn(ColumnName = "production_code")] public string productionCode { get; set; } /// /// 单位 /// public string Unit { get; set; } /// /// 计划数量 /// [SugarColumn(ColumnName = "plan_num")] public int PlanNum { get; set; } = 0; /// /// 出货数量 /// [SugarColumn(ColumnName = "shipment_num")] public int ShipmentNum { get; set; } = 0; /// /// 缺陷数量 /// [SugarColumn(ColumnName = "defect_num")] public int DefectNum { get; set; } = 0; /// /// 成品入库数量 /// [SugarColumn(ColumnName = "product_num")] public int ProductNum { get; set; } = 0; /// /// 序号 /// public int? Sort { get; set; } /// /// 工单日期 /// [SugarColumn(ColumnName = "workorder_date")] public DateTime? WorkorderDate { get; set; } /// /// 优先级(1正常 2插单 3 紧急) /// public int? Priority { get; set; } /// /// 节拍(s) /// public int? Beat { get; set; } /// /// 工单状态(1 init,2 start 3 end)) /// public int? Status { get; set; } /// /// 指示日期 /// [SugarColumn(ColumnName = "instruction_date")] public DateTime? InstructionDate { get; set; } /// /// 材料型号 /// [SugarColumn(ColumnName = "material_name")] public string MaterialName { get; set; } /// /// 材质 /// [SugarColumn(ColumnName = "materialtexture_code")] public string MaterialtextureCode { get; set; } /// /// 材料编码 /// [SugarColumn(ColumnName = "material_code")] public string MaterialCode { get; set; } /// /// 图号 /// [SugarColumn(ColumnName = "drawing_code")] public string DrawingCode { get; set; } /// /// 版本 /// public string Version { get; set; } /// /// 炉号 /// [SugarColumn(ColumnName = "stove_code")] public string StoveCode { get; set; } /// /// 车间code /// [SugarColumn(ColumnName = "workshop_code")] public string WorkshopCode { get; set; } /// /// 线别code /// [SugarColumn(ColumnName = "route_code")] public string RouteCode { get; set; } /// /// 组code /// [SugarColumn(ColumnName = "group_code")] public string GroupCode { get; set; } /// /// 进料单号(领料) /// [SugarColumn(ColumnName = "feed_order")] public string FeedOrder { get; set; } /// /// 客户单号(出货) /// [SugarColumn(ColumnName = "customer_order")] public string CustomerOrder { get; set; } /// /// 备注 /// public string Remark01 { get; set; } /// /// 备注 /// public string Remark02 { get; set; } /// /// 备注 /// public string Remark03 { get; set; } /// /// 备注 /// public string Remark04 { get; set; } /// /// 备注 /// public string Remark05 { 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; } } }