using SqlSugar;
namespace NewPdaSqlServer.entity;
///
/// 物料出库条码明细
///
[SugarTable("MES_INV_ITEM_OUT_C_DETAILS")]
public class MesInvItemOutCDetails
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 出库单id
///
[SugarColumn(ColumnName = "ITEM_OUT_ID")]
public Guid? 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-是)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "FORCE_OUT_FLAG")]
public long? 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 bool? ForceExemptFlag { get; set; }
///
/// 投料批次
///
[SugarColumn(ColumnName = "PRD_LOT_NO")]
public string? PrdLotNo { get; set; }
///
/// 是否做接收检查
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "CHECK_STATUS")]
public bool? 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 int? WorkLine { get; set; }
///
/// 供应商编号
///
[SugarColumn(ColumnName = "SUPP_NO")]
public string? SuppNo { get; set; }
///
/// 采购单号
///
[SugarColumn(ColumnName = "PBILL_NO")]
public string? PbillNo { get; set; }
///
/// 收到数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "RECEIVE")]
public bool? 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 long? EbelnK3id { get; set; }
///
/// 采购订单行ID
///
[SugarColumn(ColumnName = "LINE_K3ID")]
public long? LineK3id { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "ITEM_ID")]
public long? ItemId { get; set; }
///
/// 仓库id
///
[SugarColumn(ColumnName = "depot_id")]
public int? DepotId { get; set; }
///
/// 工单明细行id
///
[SugarColumn(ColumnName = "DABID")]
public Guid? Dabid { 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; }
}