using SqlSugar;
namespace MES.Service.Modes;
///
/// 调拨出库申请详情
///
[SugarTable("MES_DBCK_DETAIL")]
public class MesDbckDetail
{
///
/// 主键
///
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
public Guid? Id { get; set; }
///
/// 父级ID
///
[SugarColumn(ColumnName = "pid")]
public Guid? Pid { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "FMATERIALID")]
public string? FMaterialId { get; set; }
///
/// 数量
///
[SugarColumn(ColumnName = "FQty")]
public decimal? FQty { get; set; }
///
/// 单位ID
///
[SugarColumn(ColumnName = "FUNITID")]
public string? FUnitId { get; set; }
///
/// 业务关闭状态
///
[SugarColumn(ColumnName = "FBusinessClose")]
public string? FBusinessClose { get; set; }
///
/// 批次号
///
[SugarColumn(ColumnName = "FLot")]
public string? FLot { get; set; }
///
/// 生产日期
///
[SugarColumn(ColumnName = "FProduceDate")]
public DateTime? FProduceDate { get; set; }
///
/// 出库组织ID
///
[SugarColumn(ColumnName = "FStockOrgId")]
public string? FStockOrgId { get; set; }
///
/// 出库仓库ID
///
[SugarColumn(ColumnName = "FStockId")]
public string? FStockId { get; set; }
///
/// 入库组织ID
///
[SugarColumn(ColumnName = "FStockOrgInId")]
public string? FStockOrgInId { get; set; }
///
/// 入库仓库ID
///
[SugarColumn(ColumnName = "FStockInId")]
public string? FStockInId { get; set; }
///
/// MTO编号
///
[SugarColumn(ColumnName = "FMtoNo")]
public string? FMtoNo { get; set; }
///
/// 调出货主ID
///
[SugarColumn(ColumnName = "FOwnerId")]
public string? FOwnerId { get; set; }
///
/// 调入货主ID
///
[SugarColumn(ColumnName = "FOwnerInId")]
public string? FOwnerInId { get; set; }
///
/// 出库状态ID
///
[SugarColumn(ColumnName = "FStockStatusId")]
public string? FStockStatusId { get; set; }
///
/// 入库状态ID
///
[SugarColumn(ColumnName = "FStockStatusInId")]
public string? FStockStatusInId { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "FNote")]
public string? FNote { get; set; }
///
/// 序号
///
[SugarColumn(ColumnName = "FSEQ")]
public int? FSeq { get; set; }
///
/// ERP主键
///
[SugarColumn(ColumnName = "ERPID")]
public decimal? ErpID { get; set; }
///
/// ERP主键
///
[SugarColumn(ColumnName = "EID")]
public decimal? Eid { get; set; }
}