using SqlSugar;
namespace NewPdaSqlServer.entity;
///
///
[SugarTable("WOMDAB")]
public class Womdab
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
///
[SugarColumn(ColumnName = "daaGuid")]
public Guid? DaaGuid { get; set; }
/////
///// 自增列
/////
//[SugarColumn(ColumnName = "id")]
//public int? Id { get; set; }
/////
///// PID
/////
//[SugarColumn(ColumnName = "pid")]
//public int? Pid { get; set; }
///
/// 工单单号
///
[SugarColumn(ColumnName = "dab001")]
public string? Dab001 { get; set; }
///
/// 序号
///
[SugarColumn(ColumnName = "dab002")]
public int? Dab002 { get; set; }
///
/// 材料id
///
[SugarColumn(ColumnName = "dab003")]
public string? Dab003 { get; set; }
///
/// 材料名称
///
[SugarColumn(ColumnName = "dab004")]
public string? Dab004 { get; set; }
///
/// 材料规格
///
[SugarColumn(ColumnName = "dab005")]
public string? Dab005 { get; set; }
///
/// 需领用量
///
[SugarColumn(ColumnName = "dab006")]
public decimal? Dab006 { get; set; }
///
/// 已领用量
///
[SugarColumn(ColumnName = "dab007")]
public decimal? Dab007 { get; set; }
///
/// 工艺
///
[SugarColumn(ColumnName = "dab008")]
public string? Dab008 { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "dab009")]
public string? Dab009 { get; set; }
///
/// 材料类型
///
[SugarColumn(ColumnName = "dab010")]
public string? Dab010 { get; set; }
///
/// 主料
///
[SugarColumn(ColumnName = "dab011")]
public string? Dab011 { get; set; }
///
/// 组成用量
///
[SugarColumn(ColumnName = "dab012")]
public int? Dab012 { get; set; }
///
/// 底数
///
[SugarColumn(ColumnName = "dab013")]
public int? Dab013 { get; set; }
///
/// 是否替料
///
[SugarColumn(ColumnName = "dab014")]
public string? Dab014 { get; set; }
///
/// 点位
///
[SugarColumn(ColumnName = "dab015")]
public string? Dab015 { get; set; }
///
/// 投料单号
///
[SugarColumn(ColumnName = "dab016")]
public string? Dab016 { get; set; }
///
/// 仓库编码
///
[SugarColumn(ColumnName = "dab017")]
public string? Dab017 { get; set; }
///
/// 仓库名称
///
[SugarColumn(ColumnName = "dab018")]
public string? Dab018 { get; set; }
///
/// 领料方式
///
[SugarColumn(ColumnName = "dab019")]
public string? Dab019 { get; set; }
///
/// 固定损耗
///
[SugarColumn(ColumnName = "scrapqty")]
public int? Scrapqty { get; set; }
///
/// 变动损耗率
///
[SugarColumn(ColumnName = "scraprate")]
public int? Scraprate { get; set; }
///
/// 投料单行id
///
[SugarColumn(ColumnName = "erpid")]
public int? Erpid { get; set; }
///
/// 投料单头id
///
[SugarColumn(ColumnName = "eid")]
public int? Eid { get; set; }
///
/// 实领用量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "dab020")]
public decimal? Dab020 { get; set; }
///
/// 补领数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "dab021")]
public decimal? Dab021 { get; set; }
///
/// 退料数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "dab022")]
public decimal? Dab022 { get; set; }
///
/// 超领数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "dab023")]
public decimal? Dab023 { get; set; }
///
/// 良品退料
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "lp_tl")]
public int? LpTl { get; set; }
///
/// 来料不良
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "ll_bl")]
public int? LlBl { get; set; }
///
/// 作业不良
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "zy_bl")]
public int? ZyBl { get; set; }
///
/// 合并标识
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "hb_flag")]
public int? HbFlag { get; set; }
///
/// 合并单号
///
[SugarColumn(ColumnName = "hb_no")]
public string? HbNo { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "dab024")]
public string? Dab024 { get; set; }
// 动态添加的属性
[SugarColumn(IsIgnore = true)] public decimal? wNum { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemNo { get; set; }
}