using SqlSugar;
namespace MES.Service.Modes;
///
/// 出库申请物料表
///
[SugarTable("MES_INV_ITEM_OUT_ITEMS")]
public class MesInvItemOutItems
{
///
/// SEQ_ITEM_ID
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_INV_ID",
IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 出库ID
///
[SugarColumn(ColumnName = "ITEM_OUT_ID")]
public decimal? ItemOutId { 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 = "REMARK")]
public string? Remark { get; set; }
///
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 推介仓库
///
[SugarColumn(ColumnName = "DEPOT_CODE")]
public string? DepotCode { get; set; }
///
/// 推介库位
///
[SugarColumn(ColumnName = "DEPOT_SECTION_CODE")]
public string? DepotSectionCode { get; set; }
///
///
[SugarColumn(ColumnName = "TASK_NO")]
public string? TaskNo { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "WORK_NO")]
public string? WorkNo { get; set; }
///
/// 到货单行号
///
[SugarColumn(ColumnName = "WORK_LINE")]
public decimal? WorkLine { get; set; }
///
/// ERP 主表ID
///
[SugarColumn(ColumnName = "ERP_ID")]
public decimal? ErpId { get; set; }
///
/// ERP 从表ID
///
[SugarColumn(ColumnName = "ERP_AUTOID")]
public decimal? ErpAutoid { get; set; }
///
/// ERP_料号
///
[SugarColumn(ColumnName = "ERP_ITEM_NO")]
public string? ErpItemNo { get; set; }
///
/// 颜色
///
[SugarColumn(ColumnName = "COLOR_NAME")]
public string? ColorName { get; set; }
///
/// 最新下载更新标识
///
[SugarColumn(ColumnName = "UPDATE_FLG")]
public decimal? UpdateFlg { get; set; }
///
/// 采购单ID
///
[SugarColumn(ColumnName = "EBELN_K3ID")]
public decimal? EbelnK3id { get; set; }
///
/// 采购单行ID
///
[SugarColumn(ColumnName = "LINE_K3ID")]
public decimal? LineK3id { get; set; }
///
/// 采购单号
///
[SugarColumn(ColumnName = "EBELN")]
public string? Ebeln { get; set; }
///
/// 采购订单行号
///
[SugarColumn(ColumnName = "EBELN_LINE")]
public decimal? EbelnLine { get; set; }
///
/// 采购订单数量
///
[SugarColumn(ColumnName = "EBELN_QTY")]
public decimal? EbelnQty { get; set; }
///
/// 产品编号
///
[SugarColumn(ColumnName = "BOARD_ITEM")]
public string? BoardItem { get; set; }
///
///
[SugarColumn(ColumnName = "F_TYPE")]
public decimal? FType { get; set; }
///
///
[SugarColumn(ColumnName = "STATUS")]
public decimal? Status { get; set; }
///
/// 子子表ID
///
[SugarColumn(ColumnName = "ALLOCATEID")]
public decimal? Allocateid { get; set; }
///
/// 领料编号/生产工单
///
[SugarColumn(ColumnName = "PBILL_NO")]
public string? PbillNo { get; set; }
///
/// erp接口返回
///
[SugarColumn(ColumnName = "ERP_MARK")]
public string? ErpMark { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "RK_NO")]
public string? RkNo { get; set; }
///
/// 已入库数
///
[SugarColumn(ColumnName = "RK_QTY")]
public decimal? RkQty { get; set; }
///
/// 已扫数量
///
[SugarColumn(ColumnName = "TL_QTY")]
public decimal? TlQty { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "ITEM_ID")]
public decimal? ItemId { get; set; }
///
/// 物料投料单ID
///
[SugarColumn(ColumnName = "ITEM_DABID")]
public decimal? ItemDabid { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemModel { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemUnit { get; set; }
[SugarColumn(IsIgnore = true)] public string? QuantityOk { get; set; }
}