using SqlSugar;
namespace MES.Service.Modes;
///
/// 物料入库条码明细
///
[SugarTable("MES_INV_ITEM_IN_C_DETAILS")]
public class MesInvItemInCDetails
{
///
/// SEQ_OUT
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_INV_ID",
IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 入库单id
///
[SugarColumn(ColumnName = "ITEM_IN_ID", IsPrimaryKey = true)]
public decimal ItemInId { get; set; }
///
/// 物料条码PSN
///
[SugarColumn(ColumnName = "ITEM_BARCODE")]
public string ItemBarcode { get; set; }
///
/// 客户物料编码(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "C_ITEM_CODE")]
public string CItemCode { get; set; }
///
/// 客户物料条码
///
[SugarColumn(ColumnName = "C_ITEM_BARCODE")]
public string CItemBarcode { get; set; }
///
/// 验收数量
///
[SugarColumn(ColumnName = "QUANTITY")]
public decimal? Quantity { get; set; }
///
/// 入库方式(1:有条码,0:无条码)
///
[SugarColumn(ColumnName = "BARCODE_FLAG")]
public short? BarcodeFlag { get; set; }
///
/// 环保标志(0-非环保,1-环保.无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "EP_FLAG")]
public short? EpFlag { 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; }
///
/// 作业方式0-有线条码枪1-无线条码枪
///
[SugarColumn(ColumnName = "WORK_TYPE")]
public decimal? WorkType { get; set; }
///
/// 本司物料编码(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName = "ITEM_NO")]
public string ItemNo { get; set; }
///
/// 厂家批次
///
[SugarColumn(ColumnName = "LOT_NO")]
public string LotNo { get; set; }
///
/// 是否共管物料(0:否,1:是)
///
[SugarColumn(ColumnName = "COMANAGEMENT_FLAG")]
public short? ComanagementFlag { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnName = "CUST_NO")]
public string CustNo { get; set; }
///
/// 检验结果
///
[SugarColumn(ColumnName = "CHECK_RES")]
public string CheckRes { get; set; }
///
/// 进货数量
///
[SugarColumn(ColumnName = "CHECK_QTY")]
public decimal? CheckQty { get; set; }
///
/// 检验状态
///
[SugarColumn(ColumnName = "CHECK_STATES")]
public string CheckStates { get; set; }
///
/// 强制入库标记0无,1-强制入库 退料单使用
///
[SugarColumn(ColumnName = "FORCE_IN_FLAG")]
public short? ForceInFlag { 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; }
///
/// 物料条码
///
[SugarColumn(ColumnName = "ITEM_BARCODE2")]
public string ItemBarcode2 { get; set; }
///
/// 新条码
///
[SugarColumn(ColumnName = "ITEM_BARCODE3")]
public string ItemBarcode3 { get; set; }
///
/// 使用数量
///
[SugarColumn(ColumnName = "USE_QTY")]
public decimal? UseQty { get; set; }
///
/// 领料数量
///
[SugarColumn(ColumnName = "OUT_QTY")]
public decimal? OutQty { get; set; }
///
/// 物料简称
///
[SugarColumn(ColumnName = "ITEM_SNAME")]
public string ItemSname { get; set; }
///
/// 档位低值
///
[SugarColumn(ColumnName = "SPOSTION")]
public decimal? Spostion { get; set; }
///
/// 档位高值
///
[SugarColumn(ColumnName = "EPOSTION")]
public decimal? Epostion { get; set; }
///
/// 检验日期
///
[SugarColumn(ColumnName = "CHECK_DATE")]
public DateTime? CheckDate { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "UNIT")]
public string Unit { get; set; }
///
/// 是否检验
///
[SugarColumn(ColumnName = "ISCHECK")]
public decimal? Ischeck { get; set; }
///
/// 采购订单
///
[SugarColumn(ColumnName = "EBELN")]
public string Ebeln { get; set; }
///
/// 生产日期
///
[SugarColumn(ColumnName = "LOT_DATE")]
public string LotDate { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "BILL_NO")]
public string BillNo { get; set; }
///
/// 入库审核标志
///
[SugarColumn(ColumnName = "STOCK_OK")]
public short? StockOk { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "FACTORY")]
public string Factory { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "COMPANY")]
public string Company { get; set; }
///
/// 卡板编码
///
[SugarColumn(ColumnName = "CB_NO")]
public string CbNo { get; set; }
///
/// 箱号
///
[SugarColumn(ColumnName = "BOX_NO")]
public string BoxNo { get; set; }
///
/// 仓库ID
///
[SugarColumn(ColumnName = "DEPOT_ID")]
public decimal? DepotId { get; set; }
///
/// 货位ID
///
[SugarColumn(ColumnName = "DEPOT_SECTION_ID")]
public decimal? DepotSectionId { get; set; }
///
/// 行号
///
[SugarColumn(ColumnName = "LINE_NUM")]
public string LineNum { get; set; }
///
/// 扫码数量
///
[SugarColumn(ColumnName = "SM_QTY")]
public decimal? SmQty { get; set; }
///
/// 销售订单
///
[SugarColumn(ColumnName = "VGBEL")]
public string Vgbel { get; set; }
///
/// 销售订单行号
///
[SugarColumn(ColumnName = "KDPOS")]
public decimal? Kdpos { get; set; }
///
/// 任务单号
///
[SugarColumn(ColumnName = "WORK_NO")]
public string WorkNo { get; set; }
///
/// 行号
///
[SugarColumn(ColumnName = "EBELN_LINE_NO")]
public decimal? EbelnLineNo { get; set; }
///
/// 到货单号
///
[SugarColumn(ColumnName = "CBILL_NO")]
public string CbillNo { get; set; }
///
/// 急料标识
///
[SugarColumn(ColumnName = "URGENT_FLAG")]
public decimal? UrgentFlag { get; set; }
///
/// 产品型号
///
[SugarColumn(ColumnName = "BOARD_STYLE")]
public string BoardStyle { get; set; }
///
/// 任务单行号
///
[SugarColumn(ColumnName = "WORK_LINE")]
public decimal? WorkLine { get; set; }
///
/// 生产工单
///
[SugarColumn(ColumnName = "TASK_NO")]
public string TaskNo { get; set; }
///
/// 供应商
///
[SugarColumn(ColumnName = "SUPP_NO")]
public string SuppNo { get; set; }
///
/// 任务汇报单
///
[SugarColumn(ColumnName = "RBILL_NO")]
public string RbillNo { 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 decimal? SumQuantity { get; set; }
}