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 { /// /// MES成品入库单明细 /// [SugarTable(nameof(Dt_MesProInOrderDetail), "MES成品入库单明细"), ModelValidate] public class Dt_MesProInOrderDetail : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 成品入库单主键 /// [SugarColumn(IsNullable = false, ColumnDescription = "成品入库单主键")] public int OrderId { get; set; } /// /// 内包号 /// [SugarColumn(IsNullable = false,Length =50, ColumnDescription = "内包号")] public string BagNo { get; set; } /// /// 产品编码 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "产品编码")] public string ProductCode { get; set; } /// /// 版本 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "版本")] public string ProductVersion { get; set; } /// /// 包装SET数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "包装SET数量")] public float SETQty { get; set; } /// /// 合格PCS数 /// [SugarColumn(IsNullable = false, ColumnDescription = "合格PCS数")] public float OKPCSQTY { get; set; } /// /// 上架数量 /// [SugarColumn(IsNullable = false, ColumnDescription = "上架数量")] public float OverInQuantity { get; set; } /// /// 周期 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "周期")] public string DateCode { get; set; } /// /// X数 /// [SugarColumn(IsNullable = false, ColumnDescription = "X数")] public float XQty { get; set; } /// /// X位 /// [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "X位")] public string XSite { get; set; } /// /// 内包重量 /// [SugarColumn(IsNullable = false, ColumnDescription = "内包重量")] public float Weight { get; set; } /// /// ERP工单 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "ERP工单")] public string ERPOrder { get; set; } /// /// 制造订单 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "制造订单")] public string MoNumber { get; set; } /// /// 销售订单 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "销售订单")] public string SaleOrder { get; set; } /// /// 批次号 /// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "批次号")] public string LotNumber { get; set; } /// /// 包装时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "包装时间")] public DateTime PackingDate { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")] public string Remark { get; set; } } }