using MiniExcelLibs.Attributes; /* * @author : xkdong@163.com * @date : 2024-1-12 * @desc : 生产计划v2 */ namespace Model.DBModel { /// /// 生产计划v2 /// [SugarTable("pro_workplan_v2", TableDescription = "生产计划v2")] public class ProWorklplan_v2 { /// /// WP2024030001 /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] [ExcelIgnore] public string Id { get; set; } /// /// 零件号 /// [SugarColumn(ColumnName = "partnumber")] [ExcelColumn(Name = "零件号", IndexName = "C")] public string Partnumber { get; set; } /// /// 产品描述 /// [SugarColumn(ColumnName = "product_name")] [ExcelColumn(Name = "产品描述", IndexName = "D")] public string ProductName { get; set; } /// /// 规格 /// [SugarColumn(ColumnName = "specification")] [ExcelColumn(Name = "规格", IndexName = "E")] public string Specification { get; set; } /// /// 颜色代码 /// [SugarColumn(ColumnName = "color_code")] [ExcelColumn(Name = "颜色代码", IndexName = "F")] public string ColorCode { get; set; } /// /// 本周要货数量 /// [SugarColumn(ColumnName = "require_num")] [ExcelColumn(Name = "本周要货数量", IndexName = "G")] public int RequireNum { get; set; } /// /// 产品合格率 /// [SugarColumn(ColumnName = "qualification_rate")] [ExcelColumnIndex("H")] [ExcelColumnName("产品合格率")] public double QualificationRate { get; set; } /// /// 每挂数量 /// [SugarColumn(ColumnName = "every_hanger_num")] [ExcelColumnIndex("I")] [ExcelColumnName("每挂数量")] public float EveryHangerNum { get; set; } /// /// 生产节拍(分钟) /// [SugarColumn(ColumnName = "production_beat")] [ExcelColumnIndex("J")] [ExcelColumnName("生产节拍(分钟)")] public decimal ProductionBeat { get; set; } /// /// 总挂具数 /// [SugarColumn(ColumnName = "all_hanger_num")] [ExcelColumnIndex("K")] [ExcelColumnName("总挂具数")] public float AllHangerNum { get; set; } /// /// 订单需生产挂具数量 /// /// [SugarColumn(ColumnName = "require_hanger")] [ExcelColumnIndex("L")] [ExcelColumnName("订单需生产挂具数量")] public float RequireHanger { get; set; } /// /// 圈数 /// /// [SugarColumn(ColumnName = "turn_number")] [ExcelColumnIndex("M")] [ExcelColumnName("圈数")] public float TurnNumber { get; set; } /// /// 订单生产时间(分钟) /// [SugarColumn(ColumnName = "product_time")] [ExcelColumnIndex("N")] [ExcelColumnName("订单生产时间(分钟)")] public float ProductTime { get; set; } /// /// 未排程数 /// [SugarColumn(ColumnName = "no_schedule")] [ExcelIgnore] public int NoSchedule { get; set; } /// /// 毛坯号 /// [SugarColumn(ColumnName = "blank_num")] [ExcelColumnIndex("B")] [ExcelColumnName("毛坯号")] public string BlankNum { get; set; } /// /// 来源:手动插入,excel导入 /// [SugarColumn(ColumnName = "remark")] [ExcelIgnore] public string Remark { get; set; } /// /// 年 /// /// [SugarColumn(ColumnName = "year")] [ExcelIgnore] public int Year { get; set; } /// /// 周 /// /// [SugarColumn(ColumnName = "week")] [ExcelIgnore] public int Week { 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; } } }