using MiniExcelLibs.Attributes; namespace ZR.Model.MES.pro { /// /// 生产工单 /// [SugarTable("pro_workorder2", TableDescription = "生产工单")] public class ProWorkorder_v2 { /// /// 工单号WO20240301001 /// [SugarColumn(IsPrimaryKey = true, ColumnName = "id")] [ExcelIgnore] public string Id { get; set; } /// /// 毛坯号 /// [SugarColumn(ColumnName = "blank_number")] [ExcelColumn(Name = "毛坯号", IndexName = "A")] public string BlankNumber { get; set; } /// /// 成品零件号 /// [SugarColumn(ColumnName = "finished_part_number")] [ExcelColumn(Name = "成品零件号", IndexName = "B")] public string FinishedPartNumber { get; set; } /// /// 产品描述 /// [SugarColumn(ColumnName = "product_description")] [ExcelColumn(Name = "产品描述", IndexName = "C")] public string ProductDescription { get; set; } /// /// 颜色 /// [SugarColumn(ColumnName = "colour")] [ExcelColumn(Name = "颜色", IndexName = "D")] public string Colour { get; set; } /// /// 规格 /// [SugarColumn(ColumnName = "specifications")] [ExcelColumn(Name = "规格", IndexName = "E")] public string Specifications { get; set; } /// /// 编码号 /// [SugarColumn(ColumnName = "code_number")] [ExcelColumn(Name = "编码号", IndexName = "F")] public string CodeNumber { get; set; } /// /// 车数 /// [SugarColumn(ColumnName = "vehicle_number")] [ExcelColumn(Name = "车数", IndexName = "G")] public int VehicleNumber { get; set; } /// /// 挂具摆放 /// [SugarColumn(ColumnName = "hang_number")] [ExcelColumn(Name = "挂具摆放", IndexName = "H")] public int hangNumber { get; set; } /// /// 上件数 /// [SugarColumn(ColumnName = "previous_number")] [ExcelColumn(Name = "上件数", IndexName = "I")] public int PreviousNumber { get; set; } /// /// 预计合格数 /// [SugarColumn(ColumnName = "pqualifiednum")] [ExcelColumn(Name = "预计合格数", IndexName = "J")] public int PQqualifiedNum { get; set; } /// /// 预计合格率 /// [SugarColumn(ColumnName = "pqualifiedRate")] [ExcelColumn(Name = "预计合格率", IndexName = "K")] public decimal PQqualifiedRate { get; set; } /// /// 双组号缸号 /// [SugarColumn(ColumnName = "cylinder_number")] [ExcelColumn(Name = "双组号缸号", IndexName = "L")] public string CylinderNumber { get; set; } /// /// 备注1 /// [SugarColumn(ColumnName = "remark1")] [ExcelColumn(Name = "备注1", IndexName = "M")] public string Remark1 { get; set; } /// /// 备注2 /// [SugarColumn(ColumnName = "remark2")] [ExcelColumn(Name = "备注2", IndexName = "N")] public string Remark2 { get; set; } /// /// 备注3,识别是否需要工单 /// [SugarColumn(ColumnName = "remark3")] [ExcelIgnore] public string Remark3 { get; set; } /// /// 备注4 :来源 /// [SugarColumn(ColumnName = "remark4")] [ExcelIgnore] public string Remark4 { get; set; } /// /// 序号 /// [SugarColumn(ColumnName = "sort")] [ExcelIgnore] public int Sort { get; set; } /// /// 客户工单号 /// [SugarColumn(ColumnName = "client_workorder")] [ExcelIgnore] public string ClientWorkorder { get; set; } /// /// 状态:0初态 1上线 /// [SugarColumn(ColumnName = "status")] [ExcelIgnore] public int Status { get; set; } /// /// 年 /// [SugarColumn(ColumnName = "year")] [ExcelIgnore] public int Year { get; set; } /// /// 周 /// [SugarColumn(ColumnName = "week")] [ExcelIgnore] public int Week { get; set; } /// /// 日 /// [SugarColumn(ColumnName = "date")] [ExcelIgnore] public int Date { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "CREATED_BY")] [ExcelIgnore] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "CREATED_TIME")] [ExcelIgnore] public DateTime CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "UPDATED_BY")] [ExcelIgnore] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "UPDATED_TIME")] [ExcelIgnore] public DateTime UpdatedTime { get; set; } } }