using SqlSugar;
namespace MES.Service.Modes;
///
/// 物料出库条码明细
///
[SugarTable("MES_INV_ITEM_OUT_C_DETAILS")]
public class MesInvItemOutCDetails
{
///
/// SEQ_INV_ID
///
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 出库单id
///
[SugarColumn(ColumnName = "ITEM_OUT_ID")]
public decimal? ItemOutId { get; set; }
///
/// 物料条码
///
[SugarColumn(ColumnName = "ITEM_BARCODE")]
public string ItemBarcode { get; set; }
///
/// 客户物料编码(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "C_ITEM_CODE")]
public string CItemCode { get; set; }
///
/// 本司物料编码(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "ITEM_NO")]
public string ItemNo { get; set; }
///
/// 厂家批次
///
[SugarColumn(ColumnName = "LOT_NO")]
public string LotNo { get; set; }
///
/// 数量(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "QUANTITY")]
public decimal? Quantity { get; set; }
///
/// 挪料标志(0-否,1-是)
///
[SugarColumn(ColumnName = "FORCE_OUT_FLAG")]
public decimal? ForceOutFlag { 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 = "CUST_NO")]
public string CustNo { get; set; }
///
/// 仓库编码
///
[SugarColumn(ColumnName = "DEPOT_CODE")]
public string DepotCode { get; set; }
///
/// 货位编码
///
[SugarColumn(ColumnName = "DEPOT_SECTION_CODE")]
public string DepotSectionCode { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK")]
public string Remark { get; set; }
///
/// 免检标识(0-否,1-是)
///
[SugarColumn(ColumnName = "FORCE_EXEMPT_FLAG")]
public short? ForceExemptFlag { get; set; }
///
/// 投料批次
///
[SugarColumn(ColumnName = "PRD_LOT_NO")]
public string PrdLotNo { get; set; }
///
/// 是否做接收检查
///
[SugarColumn(ColumnName = "CHECK_STATUS")]
public short? CheckStatus { get; set; }
///
/// 工厂编号
///
[SugarColumn(ColumnName = "FACTORY")]
public string Factory { get; set; }
///
/// 公司编号
///
[SugarColumn(ColumnName = "COMPANY")]
public string Company { get; set; }
///
/// 原生产工单
///
[SugarColumn(ColumnName = "TASK_NOY")]
public string TaskNoy { get; set; }
///
/// 箱号
///
[SugarColumn(ColumnName = "BOX_NO")]
public string BoxNo { get; set; }
///
/// 包装批次
///
[SugarColumn(ColumnName = "TASK_PACK")]
public string TaskPack { get; set; }
///
/// 卡板
///
[SugarColumn(ColumnName = "KB_NO")]
public string KbNo { get; set; }
///
/// 产品机型
///
[SugarColumn(ColumnName = "BOARD_STYLE")]
public string BoardStyle { 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; }
///
/// 供应商编号
///
[SugarColumn(ColumnName = "SUPP_NO")]
public string SuppNo { get; set; }
///
/// 领料单号/委外订单
///
[SugarColumn(ColumnName = "PBILL_NO")]
public string PbillNo { get; set; }
///
/// 接收标识/1已接收
///
[SugarColumn(ColumnName = "RECEIVE")]
public decimal? Receive { get; set; }
///
/// 接收时间
///
[SugarColumn(ColumnName = "RTIME")]
public DateTime? Rtime { get; set; }
///
/// 接收人
///
[SugarColumn(ColumnName = "RCV_BY")]
public string RcvBy { get; set; }
///
/// 接收车间
///
[SugarColumn(ColumnName = "RCV_PART")]
public string RcvPart { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "RK_NO")]
public string RkNo { get; set; }
///
/// 采购订单id
///
[SugarColumn(ColumnName = "EBELN_K3ID")]
public decimal? EbelnK3id { get; set; }
///
/// 采购订单行id
///
[SugarColumn(ColumnName = "LINE_K3ID")]
public decimal? LineK3id { get; set; }
[SugarColumn(IsIgnore = true)] public string? DepotName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemModel { get; set; }
[SugarColumn(IsIgnore = true)] public string? Unit { get; set; }
[SugarColumn(IsIgnore = true)] public string DepotSectionName { get; set; }
}