using SqlSugar; namespace IWMS.Bill.Models { /// /// 单据主表 /// [SugarTable("IMS_BILL_MST")] public class ImsBillMst { /// /// 单据编号 /// [SugarColumn(ColumnName = "CODE")] public string Code { get; set; } /// /// 合并到的单据 /// [SugarColumn(ColumnName = "COMBINED_TO")] public string CombinedTo { get; set; } /// /// 说明 /// [SugarColumn(ColumnName = "DESCRIPTION")] public string Description { get; set; } /// /// 抬头文本 /// [SugarColumn(ColumnName = "HEADER_TEXT")] public string HeaderText { get; set; } /// /// 状态 /// [SugarColumn(ColumnName = "STATUS")] public string Status { get; set; } /// /// 单据来源渠道(1:WMS 2: ERP 3:SRM) /// [SugarColumn(ColumnName = "CHANNEL")] public decimal Channel { get; set; } /// /// 目的地 /// [SugarColumn(ColumnName = "DESTINATION")] public string Destination { get; set; } /// /// 单据类型 /// [SugarColumn(ColumnName = "BILL_TYPE_ID")] public decimal BillTypeId { get; set; } /// /// 公司 /// [SugarColumn(ColumnName = "COMPANY_ID")] public decimal CompanyId { get; set; } /// /// 供应商 /// [SugarColumn(ColumnName = "VENDOR_ID")] public decimal VendorId { get; set; } /// /// 客户 /// [SugarColumn(ColumnName = "CUSTOMER_ID")] public decimal CustomerId { get; set; } /// /// 发票号 /// [SugarColumn(ColumnName = "INVOICE_NO")] public string InvoiceNo { get; set; } /// /// 装箱单 /// [SugarColumn(ColumnName = "PK_NO")] public string PkNo { get; set; } /// /// 装箱单类型 /// [SugarColumn(ColumnName = "PK_TYPE")] public string PkType { get; set; } /// /// 保税类型 /// [SugarColumn(ColumnName = "BONDED_TYPE")] public string BondedType { get; set; } /// /// 车间 /// [SugarColumn(ColumnName = "FACTORY")] public string Factory { get; set; } /// /// 默认发产区域清单 /// [SugarColumn(ColumnName = "COMMIT_LOCATORS")] public string CommitLocators { get; set; } /// /// ERP交易路线 /// [SugarColumn(ColumnName = "ERP_BILL_TYPE")] public string ErpBillType { get; set; } /// /// ERP交易名称 /// [SugarColumn(ColumnName = "ERP_BILL_NAME")] public string ErpBillName { get; set; } /// /// 工作中心 /// [SugarColumn(ColumnName = "WORK_CENTER")] public string WorkCenter { get; set; } /// /// 部门 /// [SugarColumn(ColumnName = "DEPARTMENT")] public string Department { get; set; } /// /// 到货日期 /// [SugarColumn(ColumnName = "ETA_DATE")] public System.DateTime? EtaDate { get; set; } /// /// 司机 /// [SugarColumn(ColumnName = "DRIVER_NAME")] public string DriverName { get; set; } /// /// 司机手机号 /// [SugarColumn(ColumnName = "DRIVER_MOBILE")] public string DriverMobile { get; set; } /// /// 车牌号 /// [SugarColumn(ColumnName = "CAR_NO")] public string CarNo { get; set; } /// /// 码头号 /// [SugarColumn(ColumnName = "WHARF")] public string Wharf { get; set; } /// /// 送货方式 /// [SugarColumn(ColumnName = "DLV_TYPE")] public string DlvType { get; set; } /// /// 报缺时间 /// [SugarColumn(ColumnName = "SHORTAGE_TIME")] public System.DateTime? ShortageTime { get; set; } /// /// 车型 /// [SugarColumn(ColumnName = "VEHICLE_TYPE")] public string VehicleType { get; set; } /// /// 箱数 /// [SugarColumn(ColumnName = "BOX_COUNT")] public decimal BoxCount { get; set; } /// /// 打印次数 /// [SugarColumn(ColumnName = "PRINT_COUNT")] public decimal PrintCount { get; set; } /// /// 打印时间 /// [SugarColumn(ColumnName = "PRINT_DATE")] public System.DateTime? PrintDate { get; set; } /// /// 打印人 /// [SugarColumn(ColumnName = "PRINT_BY")] public string PrintBy { get; set; } /// /// 提单号 /// [SugarColumn(ColumnName = "BILL_OF_LOAD")] public string BillOfLoad { get; set; } /// /// 出货通知单 /// [SugarColumn(ColumnName = "SHIPPING_ORDER")] public string ShippingOrder { get; set; } /// /// 出货日期 /// [SugarColumn(ColumnName = "SHIPPING_DATE")] public System.DateTime? ShippingDate { get; set; } /// /// 进厂时间 /// [SugarColumn(ColumnName = "IN_DOOR_DATE")] public System.DateTime? InDoorDate { get; set; } /// /// 出厂时间 /// [SugarColumn(ColumnName = "OUT_DOOR_DATE")] public System.DateTime? OutDoorDate { get; set; } /// /// 核准状态 /// [SugarColumn(ColumnName = "SIGN_STATUS")] public string SignStatus { get; set; } /// /// 核准时间 /// [SugarColumn(ColumnName = "SIGN_DATE")] public System.DateTime? SignDate { get; set; } /// /// 核准人 /// [SugarColumn(ColumnName = "SIGN_BY")] public string SignBy { get; set; } /// /// 核准说明 /// [SugarColumn(ColumnName = "SIGN_REMARK")] public string SignRemark { get; set; } /// /// 开始处理人 /// [SugarColumn(ColumnName = "START_BY")] public string StartBy { get; set; } /// /// 开始处理时间 /// [SugarColumn(ColumnName = "START_DATE")] public System.DateTime? StartDate { get; set; } /// /// 结单人员 /// [SugarColumn(ColumnName = "CLOSED_BY")] public string ClosedBy { get; set; } /// /// 结单时间 /// [SugarColumn(ColumnName = "CLOSED_DATE")] public System.DateTime? ClosedDate { get; set; } /// /// 扩展1 /// [SugarColumn(ColumnName = "ATT1")] public string Att1 { get; set; } /// /// 扩展2 /// [SugarColumn(ColumnName = "ATT2")] public string Att2 { get; set; } /// /// 扩展3 /// [SugarColumn(ColumnName = "ATT3")] public string Att3 { get; set; } /// /// 扩展4 /// [SugarColumn(ColumnName = "ATT4")] public string Att4 { get; set; } /// /// 扩展5 /// [SugarColumn(ColumnName = "ATT5")] public string Att5 { get; set; } /// /// 扩展6 /// [SugarColumn(ColumnName = "ATT6")] public string Att6 { get; set; } /// /// 扩展7 /// [SugarColumn(ColumnName = "ATT7")] public string Att7 { get; set; } /// /// 扩展8 /// [SugarColumn(ColumnName = "ATT8")] public string Att8 { get; set; } /// /// 扩展9 /// [SugarColumn(ColumnName = "ATT9")] public string Att9 { get; set; } /// /// 扩展10 /// [SugarColumn(ColumnName = "ATT10")] public string Att10 { get; set; } /// /// 备用数值1 /// [SugarColumn(ColumnName = "NUM1")] public decimal Num1 { get; set; } /// /// 备用数值2 /// [SugarColumn(ColumnName = "NUM2")] public decimal Num2 { get; set; } /// /// 备用数值3 /// [SugarColumn(ColumnName = "NUM3")] public decimal Num3 { get; set; } /// /// 备用数值4 /// [SugarColumn(ColumnName = "NUM4")] public decimal Num4 { get; set; } /// /// 备用数值5 /// [SugarColumn(ColumnName = "NUM5")] public decimal Num5 { get; set; } /// /// 备用日期1 /// [SugarColumn(ColumnName = "DT1")] public System.DateTime? Dt1 { get; set; } /// /// 备用日期2 /// [SugarColumn(ColumnName = "DT2")] public System.DateTime? Dt2 { get; set; } /// /// 备用日期3 /// [SugarColumn(ColumnName = "DT3")] public System.DateTime? Dt3 { get; set; } /// /// 备用日期4 /// [SugarColumn(ColumnName = "DT4")] public System.DateTime? Dt4 { get; set; } /// /// 备用日期5 /// [SugarColumn(ColumnName = "DT5")] public System.DateTime? Dt5 { get; set; } public string Deleted { get; internal set; } public decimal Id { get; internal set; } } }