using SqlSugar;
namespace Gs.Entity.QC;
///
///
[SugarTable("MES_INV_ITEM_ARN_DETAIL")]
public class MesInvItemArnDetail
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid? Guid { get; set; }
///
///
[SugarColumn(ColumnName = "parent_Guid")]
public Guid? ParentGuid { get; set; }
///
/// MES_ROH_IN_DATA的guid
///
[SugarColumn(ColumnName = "about_Guid")]
public Guid? AboutGuid { get; set; }
///
/// 采购单号
///
[SugarColumn(ColumnName = "ebeln")]
public string? Ebeln { get; set; }
///
/// 采购订单行号
///
[SugarColumn(ColumnName = "ebeln_line")]
public int? EbelnLine { get; set; }
///
/// 采购订单数量
///
[SugarColumn(ColumnName = "ebeln_qty")]
public decimal? EbelnQty { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "item_no")]
public string? ItemNo { get; set; }
///
/// 收货数量
///
[SugarColumn(ColumnName = "quantity")]
public decimal? Quantity { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string? CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 最后更新人
///
[SugarColumn(ColumnName = "lastupdate_by")]
public string? LastupdateBy { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
///
/// 采购单ID
///
[SugarColumn(ColumnName = "ebeln_k3id")]
public int? EbelnK3id { get; set; }
///
/// 采购单行ID
///
[SugarColumn(ColumnName = "line_k3id")]
public int? LineK3id { get; set; }
///
/// 本次应收数量
///
[SugarColumn(ColumnName = "sub_qty")]
public decimal? SubQty { get; set; }
///
/// 余量
///
[SugarColumn(ColumnName = "margin_qty")]
public int? MarginQty { get; set; }
///
/// 任务单号
///
[SugarColumn(ColumnName = "work_no")]
public string? WorkNo { get; set; }
///
/// 急料标识
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "urgent_flag")]
public bool? UrgentFlag { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "memo")]
public string? Memo { get; set; }
///
/// 检验结果
///
[SugarColumn(ColumnName = "check_res")]
public string? CheckRes { get; set; }
///
/// 检验状态 (待检、分选、特采、已检)
/// 默认值: ('待检')
///
[SugarColumn(ColumnName = "check_states")]
public string? CheckStates { get; set; }
///
/// 收货余量
///
[SugarColumn(ColumnName = "quantity_m")]
public int? QuantityM { get; set; }
///
/// 本次应收余量
///
[SugarColumn(ColumnName = "sub_mqty")]
public int? SubMqty { get; set; }
///
/// 检验日期
///
[SugarColumn(ColumnName = "check_date")]
public DateTime? CheckDate { get; set; }
///
/// 是否检验
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "ischeck")]
public int? Ischeck { get; set; }
///
/// 已收数量
///
[SugarColumn(ColumnName = "ok_qty")]
public int? OkQty { get; set; }
///
/// 已收余量
///
[SugarColumn(ColumnName = "ok_mqty")]
public int? OkMqty { get; set; }
///
/// 产品型号
///
[SugarColumn(ColumnName = "board_style")]
public string? BoardStyle { get; set; }
///
/// 任务单行号
///
[SugarColumn(ColumnName = "work_line")]
public int? WorkLine { get; set; }
///
/// 0、采购单,1、委外单
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "f_type")]
public int? FType { get; set; }
///
/// 是否入库
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "isdeps_in")]
public bool? IsdepsIn { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "dha001")]
public string? Dha001 { get; set; }
///
/// 已入库数量
///
[SugarColumn(ColumnName = "ok_rkqty")]
public int? OkRkqty { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "cbill_no")]
public string? CbillNo { get; set; }
///
/// 采购入库数量
///
[SugarColumn(ColumnName = "cg_rkqty")]
public int? CgRkqty { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "item_id")]
public int? ItemId { get; set; }
///
/// 退货标识
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "return_flag")]
public int? ReturnFlag { get; set; }
///
/// 推送状态
///
[SugarColumn(ColumnName = "states")]
public string? States { get; set; }
///
/// //////////////////////////////////
///
[SugarColumn(IsIgnore = true)]
public string? itemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? itemModel { get; set; }
}