using SqlSugar;
namespace NewPdaSqlServer.entity;
///
///
[SugarTable("MES_INV_ITEM_OUT_ITEMS")]
public class MesInvItemOutItems
{
///
/// 默认值: (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_no")]
public string? ItemNo { get; set; }
///
/// 申请数量
///
[SugarColumn(ColumnName = "quantity")]
public decimal? Quantity { 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 = "remark")]
public string? Remark { get; set; }
///
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
///
///
[SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
///
/// 推介仓库
///
[SugarColumn(ColumnName = "depot_code")]
public string? DepotCode { get; set; }
///
/// 推介库位
///
[SugarColumn(ColumnName = "depot_section_code")]
public string? DepotSectionCode { 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; }
///
/// ERP 主表ID
///
[SugarColumn(ColumnName = "erp_id")]
public int? ErpId { get; set; }
///
/// ERP 从表ID
///
[SugarColumn(ColumnName = "erp_autoid")]
public int? ErpAutoid { get; set; }
///
/// ERP_料号
///
[SugarColumn(ColumnName = "erp_item_no")]
public string? ErpItemNo { get; set; }
///
/// 颜色
///
[SugarColumn(ColumnName = "color_name")]
public string? ColorName { get; set; }
///
/// 最新下载更新标识
/// 默认值: ((1))
///
[SugarColumn(ColumnName = "update_flg")]
public int? UpdateFlg { get; set; }
///
/// 采购单ID
///
[SugarColumn(ColumnName = "ebeln_k3id")]
public int? EbelnK3id { get; set; }
///
/// 采购单行ID
///
[SugarColumn(ColumnName = "line_k3id")]
public int? LineK3id { get; set; }
///
/// 采购单号
/// 默认值: ('0')
///
[SugarColumn(ColumnName = "ebeln")]
public string? Ebeln { get; set; }
///
/// 采购订单行号
///
[SugarColumn(ColumnName = "ebeln_line")]
public int? EbelnLine { get; set; }
///
/// 采购订单数量
///
[SugarColumn(ColumnName = "ebeln_qty")]
public decimal? EbelnQty { get; set; }
///
/// 产品编号
///
[SugarColumn(ColumnName = "board_item")]
public string? BoardItem { get; set; }
///
///
[SugarColumn(ColumnName = "f_type")]
public int? FType { get; set; }
///
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "status")]
public int? Status { get; set; }
///
/// 子子表ID
///
[SugarColumn(ColumnName = "allocateid")]
public int? Allocateid { get; set; }
///
/// 领料编号/生产工单
///
[SugarColumn(ColumnName = "pbill_no")]
public string? PbillNo { get; set; }
///
/// erp接口返回
///
[SugarColumn(ColumnName = "erp_mark")]
public string? ErpMark { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "rk_no")]
public string? RkNo { get; set; }
///
/// 已入库数
///
[SugarColumn(ColumnName = "rk_qty")]
public decimal? RkQty { get; set; }
///
/// 已扫数量
///
[SugarColumn(ColumnName = "tl_qty")]
public decimal? TlQty { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "item_id")]
public long? ItemId { get; set; }
///
/// 物料投料单ID(发料扫码使用)
///
[SugarColumn(ColumnName = "item_dabid")]
public Guid? ItemDabid { get; set; }
///
/// 应该是到货明细表的guid
///
[SugarColumn(ColumnName = "about_Guid")]
public Guid? AboutGuid { get; set; }
///
/// 出库明细ID
///
[SugarColumn(ColumnName = "qt_out_id")]
public Guid? QtOutId { get; set; }
///
/// 仓库id
///
[SugarColumn(ColumnName = "depot_id")]
public string? DepotId { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemModel { get; set; }
[SugarColumn(IsIgnore = true)] public decimal? KtQty { get; set; }
}