using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace MES.Service.Modes; /// /// 任务单物料表 /// [SugarTable("WOMCAB")] public class Womcab { /// /// 自增列 /// [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, OracleSequenceName = "SEQ_AOI")] public decimal? Id { get; set; } /// /// ERPID /// [SugarColumn(ColumnName = "ERPID")] public decimal? Erpid { get; set; } /// /// 工单单号 /// [SugarColumn(ColumnName = "CAB001")] public string Cab001 { get; set; } /// /// 序号 /// [SugarColumn(ColumnName = "CAB002")] public string 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 decimal? Pid { get; set; } /// /// ERP头ID /// [SugarColumn(ColumnName = "EID")] public decimal? 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 decimal? MainProductQty { get; set; } /// /// 父项物料名称 /// [SugarColumn(ColumnName = "PARENT_ITEM_NAME")] public string ParentItemName { get; set; } /// /// 销售订单 /// [SugarColumn(ColumnName = "FSALEORDERNO")] public string Fsaleorderno { get; set; } }