using SqlSugar; namespace IWMS.Bill.Models { /// /// 单据明细 /// [SugarTable("IMS_BILL_DTL")] public class ImsBillDtl { /// /// 主表ID /// [SugarColumn(ColumnName = "MST_ID")] public decimal MstId { get; set; } /// /// 来源主表ID /// [SugarColumn(ColumnName = "ORIG_MST_ID")] public decimal OrigMstId { get; set; } /// /// 行号 /// [SugarColumn(ColumnName = "LINE_NO")] public decimal? LineNo { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "DESCRIPTION")] public string Description { get; set; } /// /// 项目文本 /// [SugarColumn(ColumnName = "ITEM_TEXT")] public string ItemText { get; set; } /// /// 料号ID /// [SugarColumn(ColumnName = "PART_ID")] public decimal? PartId { get; set; } /// /// 成品号 /// [SugarColumn(ColumnName = "PID")] public string Pid { get; set; } /// /// 机芯 /// [SugarColumn(ColumnName = "CORE")] public string Core { get; set; } /// /// 发出库别 /// [SugarColumn(ColumnName = "FROM_SIC_ID")] public decimal? FromSicId { get; set; } /// /// 发出储位 /// [SugarColumn(ColumnName = "FROM_LOC_ID")] public decimal? FromLocId { get; set; } /// /// 发出工厂 /// [SugarColumn(ColumnName = "FROM_BU_ID")] public decimal? FromBuId { get; set; } /// /// 接收工厂 /// [SugarColumn(ColumnName = "TO_BU_ID")] public decimal? ToBuId { get; set; } /// /// 接收仓库 /// [SugarColumn(ColumnName = "TO_SIC_ID")] public decimal? ToSicId { get; set; } /// /// 接收储位 /// [SugarColumn(ColumnName = "TO_LOC_ID")] public decimal? ToLocId { get; set; } /// /// 转换后料号 /// [SugarColumn(ColumnName = "TO_PART_ID")] public decimal? ToPartId { get; set; } /// /// 总箱数 /// [SugarColumn(ColumnName = "TOTAL_BOX")] public decimal? TotalBox { get; set; } /// /// 最小包装 /// [SugarColumn(ColumnName = "MPQ")] public decimal? Mpq { get; set; } /// /// 开单量 /// [SugarColumn(ColumnName = "QTY")] public decimal Qty { get; set; } /// /// 实际收发量 /// [SugarColumn(ColumnName = "ACTUAL_QTY")] public decimal ActualQty { get; set; } /// /// 状态 /// [SugarColumn(ColumnName = "STATUS", IsOnlyIgnoreInsert = true)] public string Status { get; set; } /// /// 进向交货单 /// [SugarColumn(ColumnName = "INNER_DN_NO")] public string InnerDnNo { get; set; } /// /// 账册序号 /// [SugarColumn(ColumnName = "BOOK_NO")] public string BookNo { get; set; } /// /// 备案申请号 /// [SugarColumn(ColumnName = "APP_NO")] public string AppNo { get; set; } /// /// 采购单 /// [SugarColumn(ColumnName = "PO_NO")] public string PoNo { get; set; } /// /// 采购单行号 /// [SugarColumn(ColumnName = "PO_LINE")] public string PoLine { get; set; } /// /// 贸易类型 /// [SugarColumn(ColumnName = "ZTYPE")] public string Ztype { get; set; } /// /// 采购单位 /// [SugarColumn(ColumnName = "PO_UNIT")] public string PoUnit { get; set; } /// /// 库存单位 /// [SugarColumn(ColumnName = "BASE_UNIT")] public string BaseUnit { get; set; } /// /// 单价 /// [SugarColumn(ColumnName = "UNIT_PRICE")] public decimal UnitPrice { get; set; } /// /// 币别 /// [SugarColumn(ColumnName = "CURRENCY")] public string Currency { get; set; } /// /// 工单号 /// [SugarColumn(ColumnName = "MO")] public string Mo { get; set; } /// /// 工单行号 /// [SugarColumn(ColumnName = "MO_LINE")] public string MoLine { get; set; } /// /// 出通单号 /// [SugarColumn(ColumnName = "DN_NO")] public string DnNo { get; set; } /// /// 出通单行号 /// [SugarColumn(ColumnName = "DN_LINE")] public string DnLine { get; set; } /// /// 销单号 /// [SugarColumn(ColumnName = "SO")] public string So { get; set; } /// /// 销单行号 /// [SugarColumn(ColumnName = "SO_LINE")] public string SoLine { get; set; } /// /// 销售国 /// [SugarColumn(ColumnName = "SO_CONTRY")] public string SoContry { get; set; } /// /// 预留单号 /// [SugarColumn(ColumnName = "RSV_NO")] public string RsvNo { get; set; } /// /// 预留单行号 /// [SugarColumn(ColumnName = "RSV_LINE")] public string RsvLine { get; set; } /// /// 装箱单号 /// [SugarColumn(ColumnName = "PK_NO")] public string PkNo { get; set; } /// /// 装箱单项次 /// [SugarColumn(ColumnName = "PK_LINE")] public string PkLine { get; set; } /// /// 凭证号 /// [SugarColumn(ColumnName = "EVIDENCE")] public string Evidence { get; set; } /// /// 凭证行 /// [SugarColumn(ColumnName = "EVIDENCE_LINE")] public string EvidenceLine { get; set; } /// /// 凭证年份 /// [SugarColumn(ColumnName = "EVIDENCE_YEAR")] public string EvidenceYear { get; set; } /// /// 科目 /// [SugarColumn(ColumnName = "ACCOUNT")] public string Account { get; set; } /// /// 成本中心 /// [SugarColumn(ColumnName = "COST_CENTER")] public string CostCenter { get; set; } /// /// 反冲标识 /// [SugarColumn(ColumnName = "BACK_FLUSH")] public string BackFlush { get; set; } /// /// 配送目的地 /// [SugarColumn(ColumnName = "DESTINATION")] public string Destination { get; set; } /// /// 移动原因 /// [SugarColumn(ColumnName = "MOVE_REASON")] public string MoveReason { get; set; } /// /// 卸货点 /// [SugarColumn(ColumnName = "UNLOADING_POINT")] public string UnloadingPoint { get; set; } /// /// 加工方式 /// [SugarColumn(ColumnName = "PROCESS_WAY")] public string ProcessWay { get; set; } /// /// 串号 /// [SugarColumn(ColumnName = "ARTNO")] public string Artno { get; set; } /// /// 报关单号 /// [SugarColumn(ColumnName = "ENTRYID")] public string Entryid { get; set; } /// /// 报关单行号 /// [SugarColumn(ColumnName = "GNO")] public string Gno { get; set; } /// /// 供应商发票号 /// [SugarColumn(ColumnName = "VD_INV_NO")] public string VdInvNo { get; set; } /// /// 香港发票号 /// [SugarColumn(ColumnName = "HK_INV_NO")] public string HkInvNo { get; set; } /// /// 供应商编号 /// [SugarColumn(ColumnName = "VENDOR_CODE")] public string VendorCode { get; set; } /// /// 航班号 /// [SugarColumn(ColumnName = "FLIGHT_NO")] public string FlightNo { get; set; } /// /// 运输方式 /// [SugarColumn(ColumnName = "SHIP_WAY")] public string ShipWay { get; set; } /// /// 货柜号 /// [SugarColumn(ColumnName = "CONTAINER")] public string Container { get; set; } /// /// 柜型 /// [SugarColumn(ColumnName = "CONTAINER_TYPE")] public string ContainerType { get; set; } /// /// 货柜尺寸 /// [SugarColumn(ColumnName = "CONTAINER_SIZE")] public string ContainerSize { get; set; } /// /// 封条号 /// [SugarColumn(ColumnName = "SEAL_NO")] public string SealNo { get; set; } /// /// 厂封 /// [SugarColumn(ColumnName = "F_SEAL_NO")] public string FSealNo { get; set; } /// /// 套件值 /// [SugarColumn(ColumnName = "GROUP_KEY")] public string GroupKey { get; set; } /// /// 急料标记 /// [SugarColumn(ColumnName = "URGENT_FLAG")] public string UrgentFlag { get; set; } /// /// 试产标记 /// [SugarColumn(ColumnName = "TRIAL_FLAG")] public string TrialFlag { 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; } /// /// 过账时间 /// [SugarColumn(ColumnName = "BOOK_DATE")] public System.DateTime? BookDate { 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 decimal Id { get; internal set; } } }