using SqlSugar;
namespace MES.Service.Modes;
///
/// 工单子表
///
[SugarTable("WOMCAB")]
public class Womcab
{
///
/// 自增列
///
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true,OracleSequenceName = "SEQ_CAB")]
public decimal? Id { get; set; }
///
/// 生产用料清单行内码
///
[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; }
///
/// 生产订单行内码
///
[SugarColumn(ColumnName = "PID")]
public decimal? Pid { get; set; }
///
/// 生产订单行内码
///
[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 decimal? Numerator { get; set; }
///
/// 分母
///
[SugarColumn(ColumnName = "DENOMINATOR")]
public decimal? Denominator { get; set; }
///
/// 固定损耗
///
[SugarColumn(ColumnName = "SCRAPQTY")]
public decimal? SCRAPQTY { get; set; }
///
/// 变动损耗率
///
[SugarColumn(ColumnName = "SCRAPRATE")]
public decimal? SCRAPRATE { get; set; }
///
/// 销售订单号
///
[SugarColumn(ColumnName = "SALES_ORDER")]
public string? SalesOrder { get; set; }
///
/// 需求单据
///
[SugarColumn(ColumnName = "F_WWC_TEXT1")]
public string? F_WWC_TEXT1 { get; set; }
///
/// 计划完工日期
///
[SugarColumn(ColumnName = "F_WWC_DATE")]
public DateTime? F_WWC_DATE { get; set; }
///
/// 旧物料编码
///
[SugarColumn(ColumnName = "F_WWC_BASEPROPERTY")]
public string? F_WWC_BASEPROPERTY { get; set; }
///
/// 使用比例
///
[SugarColumn(ColumnName = "FUSERATE")]
public string? FUSERATE { get; set; }
///
/// 子项类型 1标准件 2返还件 3替代件
///
[SugarColumn(ColumnName = "FMATERIALTYPE")]
public string? FMATERIALTYPE { get; set; }
}