using SqlSugar; namespace NewPdaSqlServer.entity; /// /// 报工主表 /// [SugarTable("MES_WORK_PROD")] public class MesWorkProd { /// /// 唯一标识符 /// 默认值: (newid()) /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true)] public Guid Id { get; set; } /// /// 报工单号 /// [SugarColumn(ColumnName = "bill_no")] public string BillNo { get; set; } /// /// 生产线 /// [SugarColumn(ColumnName = "line_no")] public string LineNo { get; set; } /// /// [SugarColumn(ColumnName = "company")] public string Company { get; set; } /// /// [SugarColumn(ColumnName = "factory")] public string Factory { get; set; } /// /// [SugarColumn(ColumnName = "create_by")] public string CreateBy { get; set; } /// /// 创建日期 /// 默认值: (getdate()) /// [SugarColumn(ColumnName = "create_date")] public DateTime? CreateDate { get; set; } /// /// [SugarColumn(ColumnName = "lastupdate_by")] public string LastupdateBy { get; set; } /// /// 默认值: (getdate()) /// [SugarColumn(ColumnName = "lastupdate_date")] public DateTime? LastupdateDate { get; set; } /// /// 班次 /// [SugarColumn(ColumnName = "class_no")] public string ClassNo { get; set; } /// /// [SugarColumn(ColumnName = "check_user")] public string CheckUser { get; set; } /// /// [SugarColumn(ColumnName = "check_date")] public DateTime? CheckDate { get; set; } /// /// 默认值: ((0)) /// [SugarColumn(ColumnName = "status")] public int? Status { get; set; } /// /// 派工单号 /// [SugarColumn(ColumnName = "pbill_no")] public string PbillNo { get; set; } /// /// [SugarColumn(ColumnName = "bill_type_id")] public decimal? BillTypeId { get; set; } /// /// [SugarColumn(ColumnName = "transaction_no")] public decimal? TransactionNo { get; set; } /// /// 任务单号 /// [SugarColumn(ColumnName = "task_no")] public string TaskNo { get; set; } /// /// 卡板数量 /// [SugarColumn(ColumnName = "kb_qty")] public decimal? KbQty { get; set; } /// /// 每箱数量 /// [SugarColumn(ColumnName = "box_qty")] public decimal? BoxQty { get; set; } /// /// 报工人员 /// [SugarColumn(ColumnName = "report_by")] public string? ReportBy { get; set; } /// /// 报工时间 /// [SugarColumn(ColumnName = "report_date")] public DateTime? ReportDate { get; set; } }