TispContentViewModel.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 TispContentViewModel : BaseViewModel
  12. {
  13. private string inspectionContent;
  14. public Guid C_ID { get; set; }
  15. //public string C_Name { get; set; }
  16. public string C_Name
  17. {
  18. get { return this.inspectionContent; }
  19. set
  20. {
  21. this.inspectionContent = value;
  22. }
  23. }
  24. /// <summary>
  25. /// 内容选项
  26. /// </summary>
  27. public List<Option> InspectionContentoptions
  28. {
  29. get
  30. {
  31. return this.GetInspectionContentoptions(this.inspectionContent) ;
  32. }
  33. }
  34. public string C_AlarmLevel { get; set; }
  35. public string C_Remark { get; set; }
  36. public string C_StoreCode { get; set; }
  37. public string C_Number { get; set; }
  38. //public bool B_Alarm { get; set; } = false;
  39. //public string C_CreateBy { get; set; }
  40. public string D_CreateOn { get; set; }
  41. //public string C_LastUpdatedBy { get; set; }
  42. //public string D_LastUpdatedOn { get; set; }
  43. public string C_Status { get; set; }
  44. public int? I_Sort { get; set; }
  45. }
  46. }