using SqlSugar;
namespace NewPdaSqlServer.entity;
///
///
[SugarTable("MES_INV_ITEM_ARN")]
public class MesInvItemArn
{
///
/// 主键
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "bill_no")]
public string? BillNo { get; set; }
///
/// 状态|0-未审核1-审核入库\结案
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "status")]
public int? Status { get; set; }
///
/// 原因
///
[SugarColumn(ColumnName = "reason")]
public string? Reason { 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; }
///
/// 单据类型ID
///
[SugarColumn(ColumnName = "bill_type_id")]
public int? BillTypeId { get; set; }
///
/// 事务类型ID
///
[SugarColumn(ColumnName = "transaction_id")]
public int? TransactionId { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
///
/// 送货单号
///
[SugarColumn(ColumnName = "paper_bill_no")]
public string? PaperBillNo { get; set; }
///
/// 退料人工号
///
[SugarColumn(ColumnName = "user_no_back")]
public string? UserNoBack { get; set; }
///
/// 提交人
///
[SugarColumn(ColumnName = "check_user")]
public string? CheckUser { get; set; }
///
/// 提交日期
///
[SugarColumn(ColumnName = "check_date")]
public DateTime? CheckDate { get; set; }
///
/// 入库日期
///
[SugarColumn(ColumnName = "ins_date")]
public DateTime? InsDate { get; set; }
///
/// 检验结果
///
[SugarColumn(ColumnName = "check_res")]
public string? CheckRes { get; set; }
///
/// 已捡数量
///
[SugarColumn(ColumnName = "check_qty")]
public int? CheckQty { get; set; }
///
/// 仓库id
///
[SugarColumn(ColumnName = "depots_id")]
public string? DepotsId { get; set; }
///
/// 事务类型编码
///
[SugarColumn(ColumnName = "transction_no")]
public string? TransctionNo { get; set; }
///
/// 供应商id
///
[SugarColumn(ColumnName = "supp_id")]
public string? SuppId { get; set; }
///
/// 提交状态
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "fstatus")]
public bool? Fstatus { get; set; }
///
/// 工厂编码
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
///
/// 是否已回写SAP
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "sapstatus")]
public int? Sapstatus { get; set; }
///
/// 是否检验
///
[SugarColumn(ColumnName = "ischeck")]
public bool? Ischeck { get; set; }
///
/// 审核入库人
///
[SugarColumn(ColumnName = "insby")]
public string? Insby { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
///
/// 急料标识
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "urgent_flag")]
public bool? UrgentFlag { get; set; }
///
/// 冲销事务类型编码
///
[SugarColumn(ColumnName = "mttransction_no")]
public int? MttransctionNo { get; set; }
///
/// IQC检验单号
///
[SugarColumn(ColumnName = "iqc_release_no")]
public string? IqcReleaseNo { get; set; }
///
/// 是否显示
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "is_visual")]
public int? IsVisual { get; set; }
///
/// 0=采购,1=委外
/// 默认值: ((1))
///
[SugarColumn(ColumnName = "f_type")]
public bool? FType { get; set; }
///
/// ERP到货单ID
///
[SugarColumn(ColumnName = "ebeln_k3id")]
public string? EbelnK3id { get; set; }
///
/// 条码条印进度
///
[SugarColumn(ColumnName = "barcode_ratio")]
public int? BarcodeRatio { get; set; }
///
/// ERP单号
///
[SugarColumn(ColumnName = "erpno")]
public string? Erpno { get; set; }
///
/// 是否已退货0-未退货,1-退货
///
[SugarColumn(ColumnName = "thstatus")]
public int? Thstatus { get; set; }
///
/// ERP退货单号
///
[SugarColumn(ColumnName = "erpthno")]
public string? Erpthno { get; set; }
///
/// 组织编码
///
[SugarColumn(ColumnName = "organize_code")]
public string? OrganizeCode { get; set; }
///
/// 收料组织
///
[SugarColumn(ColumnName = "ReceiveOrgId")]
public string? ReceiveOrgId { get; set; }
[SugarColumn(IsIgnore = true)] public string? DepotName { get; set; }
[SugarColumn(IsIgnore = true)] public string? SuppName { get; set; }
[SugarColumn(IsIgnore = true)] public string? SuppNo { get; set; }
[SugarColumn(IsIgnore = true)] public string? DepotsCode { get; set; }
}