using SqlSugar;
namespace NewPdaSqlServer.entity;
///
/// 物料条码表
///
[SugarTable("MES_INV_ITEM_BARCODES")]
public class MesInvItemBarcodes
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 物料条码
///
[SugarColumn(ColumnName = "ITEM_BARCODE")]
public string? ItemBarcode { get; set; }
///
/// 客户成品编码
///
[SugarColumn(ColumnName = "C_PRODUCT_CODE")]
public string? CProductCode { get; set; }
///
/// 客户物料条码
///
[SugarColumn(ColumnName = "C_ITEM_BARCODE")]
public string? CItemBarcode { 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; }
///
/// 数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "QUANTITY")]
public decimal? Quantity { get; set; }
///
/// 是否环保(0:否,1:是)
///
[SugarColumn(ColumnName = "EP_FLAG")]
public bool? EpFlag { get; set; }
///
/// 生产工单
///
[SugarColumn(ColumnName = "TASK_NO")]
public string? TaskNo { 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 = "ITEM_BARCODE_TEXT")]
public string? ItemBarcodeText { get; set; }
///
/// 原PSN物料条码
///
[SugarColumn(ColumnName = "OLD_ITEM_BARCODE")]
public string? OldItemBarcode { get; set; }
///
/// SAP收货物料凭证号 --采购单号
///
[SugarColumn(ColumnName = "MBLNR")]
public string? Mblnr { get; set; }
///
/// SAP收货物料凭证行号 --采购单行号
///
[SugarColumn(ColumnName = "ZEILE")]
public int? Zeile { get; set; }
///
/// 收料表ID
///
[SugarColumn(ColumnName = "ROH_IN_ID")]
public long? RohInId { get; set; }
///
/// 0为有效条码;1为无效条码
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "BARCODESTATUS")]
public bool? Barcodestatus { get; set; }
///
/// 原始数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "OLDQTY")]
public long? Oldqty { get; set; }
///
/// 使用数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "USEQTY")]
public long? Useqty { get; set; }
///
/// 0在库,1在线,2作废
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "LOCATION")]
public byte? Location { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "UNIT")]
public string? Unit { get; set; }
///
/// 重量(单位:公斤)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "WEIGHT_UNIT")]
public decimal? WeightUnit { get; set; }
///
/// 单价
///
[SugarColumn(ColumnName = "PRICE")]
public decimal? Price { get; set; }
///
/// 原条码数量
///
[SugarColumn(ColumnName = "OLD_BAR_QUANTITY")]
public long? OldBarQuantity { get; set; }
///
/// 汇总条码
///
[SugarColumn(ColumnName = "SUM_BARCODE")]
public string? SumBarcode { get; set; }
///
/// 批次日期
///
[SugarColumn(ColumnName = "LOT_DATE")]
public DateTime? LotDate { get; set; }
///
/// 成品条码
///
[SugarColumn(ColumnName = "MOCODE")]
public string? Mocode { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "MEMO")]
public string? Memo { get; set; }
///
/// 供应商编号
///
[SugarColumn(ColumnName = "SUPP_NO")]
public string? SuppNo { get; set; }
///
/// 发货位置
///
[SugarColumn(ColumnName = "SPOSTION")]
public string? Spostion { get; set; }
///
/// 到货位置
///
[SugarColumn(ColumnName = "EPOSTION")]
public string? Epostion { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "ITEM_SNAME")]
public string? ItemSname { get; set; }
///
/// 是否可见
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "VISABLE")]
public bool? Visable { get; set; }
///
/// 外发批次号
///
[SugarColumn(ColumnName = "TR_LOTNO")]
public string? TrLotno { get; set; }
///
/// 发货日期
///
[SugarColumn(ColumnName = "FLEZZ_DATE")]
public DateTime? FlezzDate { get; set; }
///
/// 外发原因
///
[SugarColumn(ColumnName = "FLEZZ_REASON")]
public string? FlezzReason { get; set; }
///
/// 外发人
///
[SugarColumn(ColumnName = "FLEZZ_BY")]
public string? FlezzBy { get; set; }
///
/// 发货月
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "DELANY_MONTH")]
public int? DelanyMonth { get; set; }
///
/// 是否最小包装
///
[SugarColumn(ColumnName = "MINPACK_FLAG")]
public bool? MinpackFlag { get; set; }
///
/// 打印ID
///
[SugarColumn(ColumnName = "PRINT_ID")]
public string? PrintId { get; set; }
///
/// 环境物料
///
[SugarColumn(ColumnName = "EP_ITEM")]
public string? EpItem { 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 = "LINFLINE")]
public string? Linfline { get; set; }
///
/// 有效时间
///
[SugarColumn(ColumnName = "VALID_TIME")]
public DateTime? ValidTime { get; set; }
///
/// 质检状态
///
[SugarColumn(ColumnName = "IQC_STATUS")]
public string? IqcStatus { get; set; }
///
/// 车号
///
[SugarColumn(ColumnName = "FCAR")]
public string? Fcar { get; set; }
///
/// 毛重
///
[SugarColumn(ColumnName = "GWEIGHT")]
public string? Gweight { get; set; }
///
/// 净重
///
[SugarColumn(ColumnName = "NWEIGHT")]
public string? Nweight { get; set; }
///
/// 扩展日期
///
[SugarColumn(ColumnName = "EXT_DATE")]
public long? ExtDate { get; set; }
///
/// 条码类型
///
[SugarColumn(ColumnName = "BARCODETYPE")]
public string? Barcodetype { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnName = "SUPP_NAME")]
public string? SuppName { get; set; }
///
/// 发票编号
///
[SugarColumn(ColumnName = "BILL_NO")]
public string? BillNo { get; set; }
///
/// 是否紧急
///
[SugarColumn(ColumnName = "URGENT_FLAG")]
public bool? UrgentFlag { get; set; }
///
/// 颜色名称
///
[SugarColumn(ColumnName = "COLOR_NAME")]
public string? ColorName { get; set; }
///
/// 板型
///
[SugarColumn(ColumnName = "BOARD_STYLE")]
public string? BoardStyle { get; set; }
///
/// 创建日期
///
[SugarColumn(ColumnName = "INS_DATE")]
public DateTime? InsDate { get; set; }
///
/// 工序线
///
[SugarColumn(ColumnName = "WORK_LINE")]
public int? WorkLine { get; set; }
///
/// 不良备注
///
[SugarColumn(ColumnName = "MEMO_BAD")]
public string? MemoBad { get; set; }
///
/// 工单
///
[SugarColumn(ColumnName = "WORK_NO")]
public string? WorkNo { get; set; }
///
/// 到货标记
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "COME_FLG")]
public int? ComeFlg { get; set; }
///
/// 行号
///
[SugarColumn(ColumnName = "LINE_NO")]
public string? LineNo { get; set; }
///
/// 丝印数量
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "SILK_PQTY")]
public long? SilkPqty { get; set; }
///
/// 丝印规格
///
[SugarColumn(ColumnName = "SILK")]
public string? Silk { get; set; }
///
/// 丝印ID
///
[SugarColumn(ColumnName = "SILK_ID")]
public long? SilkId { get; set; }
///
/// 工单状态
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "WORK_FLG")]
public bool? WorkFlg { get; set; }
///
/// 工单最后行
///
[SugarColumn(ColumnName = "WORK_LAST")]
public int? WorkLast { get; set; }
///
/// HBDY
///
[SugarColumn(ColumnName = "HBDY")]
public int? Hbdy { get; set; }
///
/// HBDYTM
///
[SugarColumn(ColumnName = "HBDYTM")]
public int? Hbdytm { get; set; }
///
/// 工序时间
///
[SugarColumn(ColumnName = "WORK_FLGTIME")]
public string? WorkFlgtime { get; set; }
///
/// K3ID订单
///
[SugarColumn(ColumnName = "EBELN_K3ID")]
public long? EbelnK3id { get; set; }
///
/// K3ID行
///
[SugarColumn(ColumnName = "LINE_K3ID")]
public long? LineK3id { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "ITEM_ID")]
public long? ItemId { get; set; }
///
///
[SugarColumn(ColumnName = "GX_ID")]
public long? GxId { get; set; }
///
/// 供应商id
///
[SugarColumn(ColumnName = "supp_id")]
public string? SuppId { get; set; }
///
/// 临时批量guid
///
[SugarColumn(ColumnName = "tmpGuid")]
public Guid? TmpGuid { get; set; }
///
/// 关联表的guid
///
[SugarColumn(ColumnName = "ABOUT_GUID")]
public Guid? AboutGuid { get; set; }
}