using SqlSugar;
namespace NewPdaSqlServer.entity
{
///
/// 物料入库条码明细
///
[SugarTable("MES_INV_ITEM_IN_C_DETAILS")]
public class MesInvItemInCDetails
{
///
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName="guid" ,IsPrimaryKey = true )]
public Guid Guid { get; set; }
///
/// 入库单id
///
[SugarColumn(ColumnName="ITEM_IN_ID" )]
public long? 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:无条码)
/// 默认值: ((1))
///
[SugarColumn(ColumnName="BARCODE_FLAG" )]
public bool? BarcodeFlag { get; set; }
///
/// 环保标志(0-非环保,1-环保.无条码手工录入,有条码为冗余字段)
/// 默认值: ((1))
///
[SugarColumn(ColumnName="EP_FLAG" )]
public bool? 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 long? WorkType { get; set; }
///
/// 本司物料编码(无条码手工录入,有条码为冗余字段)
///
[SugarColumn(ColumnName="ITEM_NO" )]
public string ItemNo { get; set; }
///
/// 厂家批次
///
[SugarColumn(ColumnName="LOT_NO" )]
public string LotNo { get; set; }
///
/// 是否共管物料(0:否,1:是)
/// 默认值: ((0))
///
[SugarColumn(ColumnName="COMANAGEMENT_FLAG" )]
public bool? 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-强制入库 退料单使用
/// 默认值: ((0))
///
[SugarColumn(ColumnName="FORCE_IN_FLAG" )]
public bool? 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 int? Spostion { get; set; }
///
/// 结束位置
///
[SugarColumn(ColumnName="EPOSTION" )]
public int? Epostion { get; set; }
///
/// 检验日期
///
[SugarColumn(ColumnName="CHECK_DATE" )]
public DateTime? CheckDate { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName="UNIT" )]
public string Unit { get; set; }
///
/// 是否检验
/// 默认值: ((0))
///
[SugarColumn(ColumnName="ISCHECK" )]
public bool? 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; }
///
/// 是否入库成功
/// 默认值: ((0))
///
[SugarColumn(ColumnName="STOCK_OK" )]
public bool? StockOk { get; set; }
///
/// 工厂
///
[SugarColumn(ColumnName="FACTORY" )]
public string Factory { get; set; }
///
/// 公司
///
[SugarColumn(ColumnName="COMPANY" )]
public string Company { get; set; }
///
/// CB单号
///
[SugarColumn(ColumnName="CB_NO" )]
public string CbNo { get; set; }
///
/// 箱号
///
[SugarColumn(ColumnName="BOX_NO" )]
public string BoxNo { get; set; }
///
/// 仓库ID
///
[SugarColumn(ColumnName="DEPOT_ID" )]
public long? DepotId { get; set; }
///
/// 货位ID
///
[SugarColumn(ColumnName="DEPOT_SECTION_ID" )]
public long? 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 long? Kdpos { get; set; }
///
/// 作业单号
///
[SugarColumn(ColumnName="WORK_NO" )]
public string WorkNo { get; set; }
///
/// 行号
///
[SugarColumn(ColumnName="EBELN_LINE_NO" )]
public long? EbelnLineNo { get; set; }
///
/// CB单号
///
[SugarColumn(ColumnName="CBILL_NO" )]
public string CbillNo { get; set; }
///
/// 紧急标记
///
[SugarColumn(ColumnName="URGENT_FLAG" )]
public bool? UrgentFlag { get; set; }
///
/// 板型
///
[SugarColumn(ColumnName="BOARD_STYLE" )]
public string BoardStyle { get; set; }
///
/// 工作行号
///
[SugarColumn(ColumnName="WORK_LINE" )]
public int? 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; }
///
/// K3 采购单号
///
[SugarColumn(ColumnName="EBELN_K3ID" )]
public long? EbelnK3id { get; set; }
///
/// K3 行号
///
[SugarColumn(ColumnName="LINE_K3ID" )]
public long? LineK3id { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName="ITEM_ID" )]
public long? ItemId { get; set; }
}
}