TDEV_Hand.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Xml.Linq;
  8. namespace Ropin.Inspection.Model.Entities
  9. {
  10. public class TDEV_Hand
  11. {
  12. [Key]
  13. [MaxLength(50)]
  14. public Guid C_ID { get; set; }
  15. [MaxLength(100)]
  16. [Required]
  17. public string C_Name { get; set; }
  18. [MaxLength(50)]
  19. public string C_HandNo { get; set; }
  20. [MaxLength(255)]
  21. [Required]
  22. public string C_QRCode { get; set; }
  23. [MaxLength(255)]
  24. public string C_MachineCode { get; set; }
  25. [Required]
  26. public DateTime? D_ProdDate { get; set; }
  27. [MaxLength(50)]
  28. [Required]
  29. public Guid C_OrgCode { get; set; }
  30. public string C_Marker { get; set; }
  31. public string C_ProdArea { get; set; }
  32. public string C_Manufacturer { get; set; }
  33. public string C_ImagePath { get; set; }
  34. public string C_IconPath { get; set; }
  35. public string C_ThreeDPath { get; set; }
  36. public string C_Parameter { get; set; }
  37. public string C_Contacts { get; set; }
  38. public string C_ContactPhone { get; set; }
  39. public string C_OfficialWebsiteUrl { get; set; }
  40. public int I_ValiDays { get; set; }
  41. public int I_Sort { get; set; }
  42. [Display(Name = "备注")]
  43. [MaxLength(1024)]
  44. public string C_Remark { get; set; }
  45. [Display(Name = "创建人")]
  46. [Required]
  47. public Guid C_CreateBy { get; set; }
  48. [Display(Name = "创建时间")]
  49. [Required]
  50. public DateTime D_CreateOn { get; set; }
  51. [Display(Name = "更新者")]
  52. public Guid? C_LastUpdatedBy { get; set; }
  53. [Display(Name = "更新时间")]
  54. public DateTime? D_LastUpdatedOn { get; set; }
  55. [Display(Name = "状态")]
  56. [Required]
  57. [MaxLength(1)]
  58. public string C_Status { get; set; } = "1";
  59. }
  60. }