using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// BST退料单明细 /// [SugarTable(nameof(Dt_ReturnBSTOrderDetail), "BST退料单明细")] public class Dt_ReturnBSTOrderDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 头表主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "头表主键")] public int ReturnBSTOrderId { get; set; } /// /// 退料来源ID /// [SugarColumn(IsNullable = false, ColumnDescription = "退料来源ID")] public int PaperWreturnId { get; set; } /// /// 物料来源ID(上游) /// [SugarColumn(IsNullable = false, ColumnDescription = "物料来源ID(上游)")] public int MaterialId { get; set; } /// /// 物料条码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料条码")] public string Barcode { get; set; } /// /// 物料编号 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")] public string MaterialNo { get; set; } /// /// 批次序列号 /// [SugarColumn(IsNullable = false, ColumnDescription = "批次序列号")] public int SeqNo { get; set; } /// /// 幅宽 /// [SugarColumn(IsNullable = false, ColumnDescription = "幅宽")] public decimal MaterialWide { get; set; } /// /// 直径 /// [SugarColumn(IsNullable = false, ColumnDescription = "直径")] public decimal MaterialThick { get; set; } /// /// 退料长度 /// [SugarColumn(IsNullable = false, ColumnDescription = "退料长度")] public decimal ProcurementLength { get; set; } /// /// 退货数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "退货数量")] public decimal Qty { get; set; } /// /// 退料单明细状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "退料单明细状态")] public int ReturnBSTOrderDetailStatus { get; set; } /// /// 单位 /// [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "单位")] public string Unit { get; set; } /// /// 物料名称 /// [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "物料名称")] public string MaterielName { get; set; } } }