using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System; namespace Ropin.Inspection.Model.Entities { public class TDEV_Box { [Key] [MaxLength(50)] public string C_ID { get; set; } [MaxLength(100)] [Required] public string C_Name { get; set; } [MaxLength(50)] [Required] public string C_BoxNo { get; set; } [MaxLength(255)] [Required] public string C_QRCode { get; set; } [MaxLength(255)] [Required] public string C_MachineCode { get; set; } [Required] public DateTime D_ProdDate { get; set; } [MaxLength(50)] [Required] public string C_BoxTempCode { get; set; } [MaxLength(50)] [Required] public string C_StoreCode { get; set; } public int? I_Sort { get; set; } [Display(Name = "备注")] [MaxLength(1024)] public string C_Remark { get; set; } [Display(Name = "创建人")] [Required] public Guid C_CreateBy { get; set; } [Display(Name = "创建时间")] [Required] public DateTime D_CreateOn { get; set; } [Display(Name = "更新者")] public Guid? C_LastUpdatedBy { get; set; } [Display(Name = "更新时间")] public DateTime? D_LastUpdatedOn { get; set; } [Display(Name = "运行状态")] [Required] [MaxLength(1)] public string C_RunStatus { get; set; } = "1"; [Display(Name = "状态")] [Required] [MaxLength(1)] public string C_Status { get; set; } = "1"; } }