using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// BST出库排程明细 /// [SugarTable(nameof(Dt_OutBSTOrderDetail), "BST出库排程明细"), ModelValidate] public class Dt_OutBSTOrderDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 出库主表ID /// [SugarColumn(IsNullable = false, ColumnDescription = "出库主表ID")] public int OutBSTOrderId { get; set; } /// /// 关联的主表ID(上游) /// [SugarColumn(IsNullable = false, ColumnDescription = "关联的主表ID(上游)")] public int BoardMpsId { get; set; } /// /// 幅宽 /// [SugarColumn(IsNullable = false, ColumnDescription = "幅宽")] public decimal Width { get; set; } /// /// 需求长度 /// [SugarColumn(IsNullable = false, ColumnDescription = "需求长度")] public decimal XqLen { get; set; } /// /// 总用量 /// [SugarColumn(IsNullable = false, ColumnDescription = "总用量")] public decimal TotalUsage { get; set; } /// /// 物料来源ID(上游) /// [SugarColumn(IsNullable = false, ColumnDescription = "物料来源ID(上游)")] public int MaterialId { get; set; } /// /// 物料编号 /// [SugarColumn(IsNullable = false, ColumnDescription = "物料编号")] public string MaterialNo { get; set; } /// /// 采购长度 /// [SugarColumn(IsNullable = false, ColumnDescription = "采购长度")] public decimal ProcurementLength { get; set; } /// /// 已分配用量 /// [SugarColumn(IsNullable = true, ColumnDescription = "已分配用量")] public decimal AssignTotalUsage { get; set; } /// /// 已出用量 /// [SugarColumn(IsNullable = true, ColumnDescription = "已出用量")] public decimal OutTotalUsage { get; set; } /// /// 物料名称 /// [SugarColumn(IsNullable = true, ColumnDescription = "物料名称")] public string MaterialName { get; set; } /// /// 出库单明细状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "出库单明细状态")] public int OutBSTOrderDetailStatus { get; set; } } }