TDEV_DevicePart.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System.Linq;
  2. using System.Text;
  3. using System.Threading.Tasks;
  4. using System.ComponentModel.DataAnnotations;
  5. using System;
  6. namespace Ropin.Inspection.Model.Entities
  7. {
  8. public class TDEV_DevicePart
  9. {
  10. [Key]
  11. [MaxLength(50)]
  12. public string C_ID { get; set; }
  13. [MaxLength(100)]
  14. [Required]
  15. public string C_Name { get; set; }
  16. [MaxLength(50)]
  17. [Required]
  18. public string C_DevTempCode { get; set; }
  19. [MaxLength(1024)]
  20. public string C_Content { get; set; }
  21. [MaxLength(255)]
  22. public string C_Url { get; set; }
  23. [Display(Name = "备注")]
  24. [MaxLength(1024)]
  25. public string C_Remark { get; set; }
  26. [Display(Name = "创建人")]
  27. [Required]
  28. public Guid C_CreateBy { get; set; }
  29. [Display(Name = "创建时间")]
  30. [Required]
  31. public DateTime D_CreateOn { get; set; }
  32. [Display(Name = "更新者")]
  33. public Guid? C_LastUpdatedBy { get; set; }
  34. [Display(Name = "更新时间")]
  35. public DateTime? D_LastUpdatedOn { get; set; }
  36. [Display(Name = "状态")]
  37. [Required]
  38. [MaxLength(1)]
  39. public string C_Status { get; set; } = "1";
  40. }
  41. }