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 { /// /// 成品领料出库明细单 /// [SugarTable(nameof(Dt_ProCollectOutOrderDetail), "成品领料出库明细单")] public class Dt_ProCollectOutOrderDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 成品出库单主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "领料出库主键")] public int ProCollectOrderId { get; set; } /// /// 出库单行号 /// [SugarColumn(IsNullable = false, ColumnDescription = "出库单行号")] public int RowId { get; set; } /// /// 出库单明细状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "出库单明细状态")] public int ProOrderDetailStatus { get; set; } /// /// 产品编码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "产品编码")] public string PCode { get; set; } /// /// 产品版本 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "产品版本")] public string PVer { get; set; } /// /// 产品批次 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "产品批次")] public string PLot { get; set; } /// /// 产品周期 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "产品周期")] public string DateCode { get; set; } /// /// 出库合格PCS数 /// [SugarColumn(IsNullable = false, ColumnDescription = "出库合格PCS数")] public float QtyPcs { get; set; } /// /// 已出数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "已出数量")] public float OverQtyPcs { get; set; } /// /// 锁定数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "锁定数量")] public float LockQtyPcs { get; set; } /// /// Set数 /// [SugarColumn(IsNullable = false, ColumnDescription = "Set数")] public float SetQty { get; set; } /// /// X板数 /// [SugarColumn(IsNullable = true, ColumnDescription = "X板数")] public float XQty { get; set; } /// /// X板位 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "X板位")] public string XSite { get; set; } /// /// 单位 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "单位")] public string Unit { get; set; } /// /// 审核日期 /// [SugarColumn(IsNullable = false, ColumnDescription = "审核日期")] public DateTime OrderDate { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "备注")] public string Note { get; set; } } }