using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System; namespace Ropin.Inspection.Model.Entities { public class TDEV_DevicePart { [Key] [MaxLength(50)] public string C_ID { get; set; } [MaxLength(100)] [Required] public string C_Name { get; set; } [MaxLength(50)] [Required] public string C_DevTempCode { get; set; } [MaxLength(1024)] public string C_Content { get; set; } [MaxLength(255)] public string C_Url { 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_Status { get; set; } = "1"; } }