using SqlSugar;
namespace NewPdaSqlServer.entity;
///
/// 采购退货申请明细
///
[SugarTable("MES_CGTH_SQ_DETAIL")]
public class MesCgthSqDetail
{
///
///
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
public Guid Id { get; set; }
///
///
[SugarColumn(ColumnName = "MID")]
public Guid? Mid { get; set; }
///
/// 入库单号
///
[SugarColumn(ColumnName = "INV_BILL_NO")]
public string InvBillNo { get; set; }
///
/// 入库单行号
///
[SugarColumn(ColumnName = "INV_WORK_LINE")]
public int? InvWorkLine { get; set; }
///
/// 采购订单
///
[SugarColumn(ColumnName = "EBELN")]
public string Ebeln { get; set; }
///
/// 采购订单id
///
[SugarColumn(ColumnName = "EID")]
public int? Eid { get; set; }
///
/// 采购订单行id
///
[SugarColumn(ColumnName = "ERPID")]
public int? Erpid { get; set; }
///
/// 物料id
///
[SugarColumn(ColumnName = "ITEM_ID")]
public int? ItemId { get; set; }
///
/// 申请数量
///
[SugarColumn(ColumnName = "SQ_NUM")]
public decimal? SqNum { get; set; }
///
/// 已扫数量
///
[SugarColumn(ColumnName = "YS_NUM")]
public decimal? YsNum { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "REMARK")]
public string Remark { get; set; }
///
/// 是否完成
///
[SugarColumn(ColumnName = "IS_FINISH")]
public bool? IsFinish { get; set; }
///
/// 序号
///
[SugarColumn(ColumnName = "ORDER_NO")]
public int? OrderNo { get; set; }
///
/// 入库明细的guid
///
[SugarColumn(ColumnName = "RKMX_GUID")]
public Guid? RkmxGuid { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemName { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemModel { get; set; }
[SugarColumn(IsIgnore = true)] public string? ItemNo { get; set; }
}