using System.Linq; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using System; namespace Ropin.Inspection.Model.Entities { public class TDEV_WebScadaDevSpot { [Key] [MaxLength(50)] public string C_ID { get; set; } [MaxLength(100)] [Required] public string C_Name { get; set; } [MaxLength(50)] [Required] public string C_DevCode { get; set; } [Required] [MaxLength(50)] public string C_ControlID { get; set; } [Required] [MaxLength(50)] public string C_DevSpotCode { get; set; } [MaxLength(1)] public string C_Type { get; set; } [MaxLength(1024)] public string C_CalFormula { get; set; } [MaxLength(50)] public string C_GroupName { get; set; } [MaxLength(50)] public string C_UnitName { get; set; } [MaxLength(50)] public string C_BoxSpot { get; set; } [MaxLength(50)] public string C_BoxNo { get; set; } [MaxLength(50)] public string C_StoreCode { get; set; } public int I_Sort { get; set; } [MaxLength(1)] public string C_Run { 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"; [Required] [MaxLength(1)] public string C_Public { get; set; } = "1"; } }