using SqlSugar; namespace MES.Service.Modes; /// /// 任务单物料表 /// [SugarTable("WOMCAB")] public class Womcab { /// /// 默认值: (newid()) /// [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] public Guid Guid { get; set; } /// /// ERPID /// [SugarColumn(ColumnName = "ERPID")] public int? Erpid { get; set; } /// /// 工单单号 /// [SugarColumn(ColumnName = "CAB001")] public string? Cab001 { get; set; } /// /// 序号 /// [SugarColumn(ColumnName = "CAB002")] public int? Cab002 { get; set; } /// /// 材料编码 /// [SugarColumn(ColumnName = "CAB003")] public string? Cab003 { get; set; } /// /// 需领用量 /// [SugarColumn(ColumnName = "CAB006")] public decimal? Cab006 { get; set; } /// /// 已领用量 /// [SugarColumn(ColumnName = "CAB007")] public decimal? Cab007 { get; set; } /// /// 工艺 /// [SugarColumn(ColumnName = "CAB008")] public string? Cab008 { get; set; } /// /// 单位 /// [SugarColumn(ColumnName = "CAB009")] public string? Cab009 { get; set; } /// /// 组成用量 /// [SugarColumn(ColumnName = "CAB012")] public decimal? Cab012 { get; set; } /// /// 是否替料 /// [SugarColumn(ColumnName = "CAB014")] public string? Cab014 { get; set; } /// /// PID /// [SugarColumn(ColumnName = "PID")] public int? Pid { get; set; } /// /// ERP头ID /// [SugarColumn(ColumnName = "EID")] public int? Eid { get; set; } /// /// 位置号 /// [SugarColumn(ColumnName = "POSITION_NO")] public string? PositionNo { get; set; } /// /// 发料组织 /// [SugarColumn(ColumnName = "ISSUING_ORGANIZATION")] public string? IssuingOrganization { get; set; } /// /// 供应组织 /// [SugarColumn(ColumnName = "SUPPLY_ORGANIZATION")] public string? SupplyOrganization { get; set; } /// /// 货主 /// [SugarColumn(ColumnName = "OWNER_ID")] public string? OwnerId { get; set; } /// /// 计划跟踪号 /// [SugarColumn(ColumnName = "MTONO")] public string? Mtono { get; set; } /// /// 批号 /// [SugarColumn(ColumnName = "LOT")] public string? Lot { get; set; } /// /// 仓库 /// [SugarColumn(ColumnName = "DEPOT_CODE")] public string? DepotCode { get; set; } /// /// 发料方式 /// [SugarColumn(ColumnName = "ISSUE_TYPE")] public string? IssueType { get; set; } /// /// 供应类型(C采购 Z自制 W委外) /// [SugarColumn(ColumnName = "SUPPLY_TYPE")] public string? SupplyType { get; set; } /// /// 分子 /// [SugarColumn(ColumnName = "NUMERATOR")] public string? Numerator { get; set; } /// /// 分母 /// [SugarColumn(ColumnName = "DENOMINATOR")] public string? Denominator { get; set; } /// /// 固定损耗 /// [SugarColumn(ColumnName = "SCRAPQTY")] public string? Scrapqty { get; set; } /// /// 变动损耗率 /// [SugarColumn(ColumnName = "SCRAPRATE")] public string? Scraprate { get; set; } // /// // /// 客户货号 // /// // [SugarColumn(ColumnName = "CUSTOMER_ITEM_NUMBER")] // public string? CustomerItemNumber { get; set; } // /// // /// 包装单号 // /// // [SugarColumn(ColumnName = "PACKING_LIST_NUMBER")] // public string? PackingListNumber { get; set; } // /// // /// 主产品 // /// // [SugarColumn(ColumnName = "MAIN_PRODUCT")] // public string? MainProduct { get; set; } // /// // /// 主产品数量 // /// // [SugarColumn(ColumnName = "MAIN_PRODUCT_QTY")] // public int? MainProductQty { get; set; } // /// // /// 父项物料名称 // /// // [SugarColumn(ColumnName = "PARENT_ITEM_NAME")] // public string? ParentItemName { get; set; } // /// // /// 销售订单 // /// // [SugarColumn(ColumnName = "FSALEORDERNO")] // public string? Fsaleorderno { get; set; } /// /// 货主类型 /// [SugarColumn(ColumnName = "FOWNERTYPEID")] public string? Fownertypeid { get; set; } /// /// 项次号 /// [SugarColumn(ColumnName = "FREPLACEGROUP")] public int? Freplacegroup { get; set; } /// /// 销售订单号 /// [SugarColumn(ColumnName = "ERP_XSDDH")] public string? ErpXsddh { get; set; } /// /// 子项类型 /// [SugarColumn(ColumnName = "FMATERIALTYPE")] public string? Fmaterialtype { get; set; } /// /// [SugarColumn(ColumnName = "FUNITID")] public string? Funitid { get; set; } /// /// 应发数量 /// [SugarColumn(ColumnName = "Must_Qty")] public decimal? MustQty { get; set; } /// /// 使用比例(%) /// [SugarColumn(ColumnName = "Use_Rate")] public decimal? UseRate { get; set; } /// /// 子项类型 1标准件 2返还件 3替代件 /// [SugarColumn(ColumnName = "Material_Type")] public string? MaterialType { get; set; } }