using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models.BasicModel { [SugarTable(nameof(Dt_Changeovers), "换型信息")] public class Dt_Changeovers : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 托盘编码 /// [Required] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编码")] public string MaterielCode { get; set; } /// /// 产线 /// [Required] [SugarColumn(IsNullable = true, ColumnDescription = "产线")] public string ProductionLine { get; set; } /// /// 工序 /// [Required] [SugarColumn(IsNullable = true, ColumnDescription = "工序")] public string ProcessCode { get; set; } /// /// 状态 /// [Required] [SugarColumn(IsNullable = true, ColumnDescription = "状态")] public string Status { get; set; } } }