TsecRecordItemDetailViewModel.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ropin.Inspection.Model.ViewModel
  7. {
  8. /// <summary>
  9. /// 安检巡检记录
  10. /// </summary>
  11. public class TsecRecordItemDetailViewModel : BaseViewModel
  12. {
  13. private string inspectionContent;
  14. public Guid RecordId { get; set; }
  15. /// <summary>
  16. /// 安检记录
  17. /// </summary>
  18. //public Guid SecurityId { get; set; }
  19. //public string SecurityContent { get; set; }
  20. //public string SecurityRemark { get; set; }
  21. public string SecurityCreateByName { get; set; }
  22. //public string SecurityCreateOn { get; set; }
  23. //public string SecurityLastUpdatedByName { get; set; }
  24. //public string SecurityLastUpdatedOn { get; set; }
  25. //public string SecurityStatus { get; set; }
  26. public Guid C_ID { get; set; }
  27. public Guid C_RecordItemCode { get; set; }
  28. public string C_SecurityContent { get; set; }
  29. public string C_Remark { get; set; }
  30. public string C_Status { get; set; }
  31. public Guid C_CreateBy { get; set; }
  32. public DateTime? D_CreateOn { get; set; }
  33. public Guid C_LastUpdatedBy { get; set; }
  34. public DateTime? D_LastUpdatedOn { get; set; }
  35. /// <summary>
  36. /// 巡检记录
  37. /// </summary>
  38. //public string InspectionContent { get; set; }
  39. public string InspectionContent
  40. {
  41. get { return this.inspectionContent; }
  42. set
  43. {
  44. this.inspectionContent = value;
  45. }
  46. }
  47. /// <summary>
  48. /// 内容选项
  49. /// </summary>
  50. public List<Option> InspectionContentoptions
  51. {
  52. get
  53. {
  54. return this.GetInspectionContentoptions(this.inspectionContent);
  55. }
  56. }
  57. public string InspectionRemark { get; set; }
  58. public string InspectionStatus { get; set; }
  59. public DateTime InspectionTime { get; set; }
  60. /// <summary>
  61. /// 巡检人员姓名
  62. /// </summary>
  63. public string InspectionUserName { get; set; }
  64. /// <summary>
  65. /// 内容报警等级
  66. /// </summary>
  67. public string ContentAlarmLevel { get; set; }
  68. /// <summary>
  69. /// 内容名称
  70. /// </summary>
  71. public string ContentName { get; set; }
  72. /// <summary>
  73. /// 巡检点名称
  74. /// </summary>
  75. public string SpotName { get; set; }
  76. /// <summary>
  77. /// 巡检点编号
  78. /// </summary>
  79. public string SpotNumber { get; set; }
  80. public string SpotImage { get; set; }
  81. //public IEnumerable<RecordImage> RecordImageList { get; set; }
  82. }
  83. }