using SqlSugar;
namespace Gs.Entity.Warehouse;
///
/// 物料库存表
///
[SugarTable("MES_INV_ITEM_STOCKS")]
public class MesInvItemStocks
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 生产订单
///
[SugarColumn(ColumnName = "TASK_NO")]
public string? TaskNo { 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; }
///
/// 子库id
///
[SugarColumn(ColumnName = "DEPOTS_ID")]
public long? DepotsId { get; set; }
///
/// 货位id
///
[SugarColumn(ColumnName = "DEPOT_SECTIONS_ID")]
public long? DepotSectionsId { 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 byte? EpFlag { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnName = "CUSTOMER_NO")]
public string? CustomerNo { get; set; }
///
/// 重量
///
[SugarColumn(ColumnName = "ITEM_WT")]
public decimal? ItemWt { get; set; }
///
/// 子库CODE
///
[SugarColumn(ColumnName = "DEPOTS_CODE")]
public string? DepotsCode { get; set; }
///
/// 货位CODE
///
[SugarColumn(ColumnName = "DEPOT_SECTIONS_CODE")]
public string? DepotSectionsCode { get; set; }
///
/// 检验日期
///
[SugarColumn(ColumnName = "CHECK_DATE")]
public DateTime? CheckDate { get; set; }
///
/// 0 物料 1 半成品 2 成品
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "ITEM_TYPE")]
public byte? ItemType { get; set; }
///
/// 入库日期
/// 默认值: (getdate())
///
[SugarColumn(ColumnName = "INDEP_DATE")]
public DateTime? IndepDate { get; set; }
///
/// 入库人
/// 默认值: (getdate())
///
[SugarColumn(ColumnName = "INDEP_USER_CODE")]
public string IndepUserCode { get; set; }
///
/// 工厂编号
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
/// 公司编号
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 质量状态
///
[SugarColumn(ColumnName = "IQC_STATUS")]
public string? IqcStatus { get; set; }
///
/// F卡
///
[SugarColumn(ColumnName = "FCAR")]
public string? Fcar { get; set; }
///
/// 可见提交标志(0-否,1-是)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "VISABLE_SUBMIT")]
public byte? VisableSubmit { get; set; }
///
/// 可见提交人
///
[SugarColumn(ColumnName = "VISABLE_SUBMIT_BY")]
public string? VisableSubmitBy { get; set; }
///
/// 可见提交时间
///
[SugarColumn(ColumnName = "VISABLE_SUBMIT_DATE")]
public DateTime? VisableSubmitDate { get; set; }
///
/// 板型
///
[SugarColumn(ColumnName = "BOARD_STYLE")]
public string? BoardStyle { 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 = "LINE_NO")]
public string? LineNo { get; set; }
///
/// 单据编号
///
[SugarColumn(ColumnName = "BILL_NO")]
public string? BillNo { 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 = "SUPP_ID")]
public string? SuppId { get; set; }
///
/// 仓库ID
///
[SugarColumn(ColumnName = "DEPOT_ID")]
public int? DepotId { get; set; }
}