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; }
///
/// 供应类型
///
[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 decimal? SCRAPQTY { get; set; }
///
/// 变动损耗率
///
[SugarColumn(ColumnName = "SCRAPRATE")]
public decimal? SCRAPRATE { get; set; }
}