using SqlSugar; namespace MES.Service.Modes; /// /// 销售发货通知单明细表 /// [SugarTable("SALES_DELIVERY_NOTICE_DETAIL")] public class SalesDeliveryNoticeDetail { /// /// [SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_DELIVERY_NOTICE_DETAIL", IsPrimaryKey = true)] public decimal? Id { get; set; } /// /// 销售订单号 /// [SugarColumn(ColumnName = "SALES_ORDER_ID")] public string SalesOrderId { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "MATERIAL_ID")] public string MaterialId { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "MATERIAL_NAME")] public string MaterialName { get; set; } /// /// 物料规格 /// [SugarColumn(ColumnName = "MATERIAL_SPECIFICATION")] public string MaterialSpecification { get; set; } /// /// 销售单位 /// [SugarColumn(ColumnName = "SALES_UNIT_ID")] public string SalesUnitId { get; set; } /// /// 销售数量 /// [SugarColumn(ColumnName = "SALES_QUANTITY")] public decimal? SalesQuantity { get; set; } /// /// 是否赠品 /// [SugarColumn(ColumnName = "IS_FREE")] public string IsFree { get; set; } /// /// 要货日期 /// [SugarColumn(ColumnName = "DELIVERY_DATE")] public DateTime? DeliveryDate { get; set; } /// /// 出货仓库 /// [SugarColumn(ColumnName = "WAREHOUSE")] public string Warehouse { get; set; } /// /// 计划跟踪号 /// [SugarColumn(ColumnName = "PLAN_TRACKING_NUMBER")] public string PlanTrackingNumber { get; set; } /// /// 批号 /// [SugarColumn(ColumnName = "LOT_NUMBER")] public string LotNumber { get; set; } /// /// 源单编号 /// [SugarColumn(ColumnName = "SRC_BILL_NO")] public string SrcBillNo { get; set; } /// /// 计价数量 /// [SugarColumn(ColumnName = "PRICE_QTY")] public decimal? PriceQty { get; set; } /// /// 货主 /// [SugarColumn(ColumnName = "OWNER_ID")] public string OwnerId { get; set; } /// /// 库存单位 /// [SugarColumn(ColumnName = "INVENTORY_UNIT")] public string InventoryUnit { get; set; } /// /// 库存数量 /// [SugarColumn(ColumnName = "INVENTORY_QUANTITY")] public decimal? InventoryQuantity { get; set; } /// /// 物料类别 /// [SugarColumn(ColumnName = "MATERIAL_CATEGORY")] public string MaterialCategory { get; set; } /// /// 计划发货日期 /// [SugarColumn(ColumnName = "PLAN_DELIVERY_DATE")] public DateTime? PlanDeliveryDate { get; set; } /// /// 超发控制单位 /// [SugarColumn(ColumnName = "OUT_LMT_UNIT")] public string OutLmtUnit { get; set; } /// /// 出库上限 /// [SugarColumn(ColumnName = "OUT_MAX_QTY")] public decimal? OutMaxQty { get; set; } /// /// 出库下限 /// [SugarColumn(ColumnName = "OUT_MIN_QTY")] public decimal? OutMinQty { get; set; } /// /// 交货地点 /// [SugarColumn(ColumnName = "DELIVERY_LOC")] public string DeliveryLoc { get; set; } /// /// 交货地址 /// [SugarColumn(ColumnName = "DELIVERYL_ADDRESS")] public string DeliverylAddress { get; set; } /// /// 源单单号 /// [SugarColumn(ColumnName = "SOURCE_BILL_NO")] public string SourceBillNo { get; set; } /// /// 订单单号 /// [SugarColumn(ColumnName = "ORDER_BILL_NO")] public string OrderBillNo { get; set; } /// /// 终止状态 /// [SugarColumn(ColumnName = "TERMINATION_STATUS")] public string TerminationStatus { get; set; } /// /// 终止日期 /// [SugarColumn(ColumnName = "TERMINATION_DATE")] public DateTime? TerminationDate { get; set; } /// /// 累计出库数量 /// [SugarColumn(ColumnName = "SUM_OUT_QTY")] public decimal? SumOutQty { get; set; } /// /// 未出库数量 /// [SugarColumn(ColumnName = "REMAIN_OUT_QTY")] public decimal? RemainOutQty { get; set; } /// /// ERP行ID /// [SugarColumn(ColumnName = "ERP_LINE_ID")] public string ErpLineId { get; set; } /// /// ERP头ID /// [SugarColumn(ColumnName = "ERP_HEAD_ID")] public string ErpHeadId { get; set; } /// /// ERP头ID /// //[SugarColumn(ColumnName = "f_UNW_Base_GDY")] //public string GDY { get; set; } ///// ///// 备注 ///// //[SugarColumn(ColumnName = "FEntrynote")] //public string NOTE { get; set; } /// /// 要货日期 /// [SugarColumn(ColumnName = "FDELIVERYDATE", IsNullable = true)] public string? FDeliveryDate { get; set; } /// /// 客户物料编码1 /// [SugarColumn(ColumnName = "FMAPID", IsNullable = true)] public string? FMapId { get; set; } /// /// 客户物料名称 /// [SugarColumn(ColumnName = "FMAPNAME", IsNullable = true)] public string? FMapName { get; set; } /// /// 客户料号2 /// [SugarColumn(ColumnName = "FMAPID2", IsNullable = true)] public string? FMapId2 { get; set; } /// /// 项目 /// [SugarColumn(ColumnName = "FPROJECT", IsNullable = true)] public string? FProject { get; set; } /// /// 存储地点 /// [SugarColumn(ColumnName = "FSTORAGELOCATION", IsNullable = true)] public string? FStorageLocation { get; set; } /// /// 免费品类型 /// [SugarColumn(ColumnName = "FFREEITEMTYPE", IsNullable = true)] public string? FFreeItemType { get; set; } /// /// 表体备注 /// [SugarColumn(ColumnName = "FBODYNOTE", IsNullable = true)] public string? FBodyNote { get; set; } /// /// 库存可用量 /// [SugarColumn(ColumnName = "FAVAILABLESTOCK", IsNullable = true)] public decimal? FAvailableStock { get; set; } /// /// 查询库存时间 /// [SugarColumn(ColumnName = "FINVENTORYQUERYTIME", IsNullable = true)] public string? FInventoryQueryTime { get; set; } /// /// 行状态 /// [SugarColumn(ColumnName = "FLINESTATUS", IsNullable = true)] public string? FLineStatus { get; set; } /// /// 收货地址全称 /// [SugarColumn(ColumnName = "FRECEIVEADDRESSFULL", IsNullable = true)] public string? FReceiveAddressFull { get; set; } /// /// 收货联系人 /// [SugarColumn(ColumnName = "FRECEIVERCONTACT", IsNullable = true)] public string? FReceiverContact { get; set; } /// /// 可退换 /// [SugarColumn(ColumnName = "FRETURNEXCHANGEALLOWED", IsNullable = true)] public string? FReturnExchangeAllowed { get; set; } /// /// 委外加工件数量 /// [SugarColumn(ColumnName = "FOUTSOURCEDPROCESSQTY", IsNullable = true)] public decimal? FOutsourcedProcessQty { get; set; } /// /// 可用日期 /// [SugarColumn(ColumnName = "FAVAILABLEDATE", IsNullable = true)] public string? FAvailableDate { get; set; } /// /// 承诺日期 /// [SugarColumn(ColumnName = "FCOMMITMENTDATE", IsNullable = true)] public string? FCommitmentDate { get; set; } /// /// 客户确认出货日 /// [SugarColumn(ColumnName = "FCUSTOMERCONFIRMSHIPDATE", IsNullable = true)] public string? FCustomerConfirmShipDate { get; set; } /// /// 计划组织 /// [SugarColumn(ColumnName = "FPLANNEDORG", IsNullable = true)] public string? FPlannedOrg { get; set; } /// /// 供应商直运 /// [SugarColumn(ColumnName = "FVENDORDIRECTSHIP", IsNullable = true)] public string? FVendorDirectShip { get; set; } /// /// 供应来源 /// [SugarColumn(ColumnName = "FSUPPLYSOURCE", IsNullable = true)] public string? FSupplySource { get; set; } /// /// 供应类型 /// [SugarColumn(ColumnName = "FSUPPLYTYPE", IsNullable = true)] public string? FSupplyType { get; set; } /// /// 供应组织 /// [SugarColumn(ColumnName = "FSUPPLYORG", IsNullable = true)] public string? FSupplyOrg { get; set; } /// /// 供应商 /// [SugarColumn(ColumnName = "FSUPPLIER", IsNullable = true)] public string? FSupplier { get; set; } /// /// 出货方式 /// [SugarColumn(ColumnName = "FSHIPPINGMETHOD", IsNullable = true)] public string? FShippingMethod { get; set; } /// /// MRP/DRP需求 /// [SugarColumn(ColumnName = "FMRPDR", IsNullable = true)] public string? FMRPDR { get; set; } /// /// 需求分类 /// [SugarColumn(ColumnName = "FDEMANDCATEGORY", IsNullable = true)] public string? FDemandCategory { get; set; } /// /// 库存规划 /// [SugarColumn(ColumnName = "FINVENTORYPLANNING", IsNullable = true)] public string? FInventoryPlanning { get; set; } /// /// 行备注 /// [SugarColumn(ColumnName = "FLINEREMARK", IsNullable = true)] public string? FLineRemark { get; set; } /// /// 来源单据类别 /// [SugarColumn(ColumnName = "FSOURCEDOCCATEGORY", IsNullable = true)] public string? FSourceDocCategory { get; set; } /// /// 来源单号 /// [SugarColumn(ColumnName = "FSOURCEDOCNO", IsNullable = true)] public string? FSourceDocNo { get; set; } /// /// 来源单行号 /// [SugarColumn(ColumnName = "FSOURCEDOCLINENO", IsNullable = true)] public decimal? FSourceDocLineNo { get; set; } /// /// 行号 /// [SugarColumn(ColumnName = "FLINE_NO", IsNullable = true)] public string? FLINE_NO { get; set; } }