MinorConditionView.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. namespace EMIS.ViewModel.MinorManage.MinorSetting
  8. {
  9. public class MinorConditionView
  10. {
  11. /// <summary>
  12. /// 辅修条件ID
  13. /// </summary>
  14. [DisplayName("辅修条件ID")]
  15. public Guid MinorConditionID { get; set; }
  16. /// <summary>
  17. /// 条件名称
  18. /// </summary>
  19. [Required]
  20. [DisplayName("条件名称")]
  21. public string Title { get; set; }
  22. /// <summary>
  23. /// 计算方法
  24. /// </summary>
  25. [DisplayName("计算方法")]
  26. public string MethodFullName { get; set; }
  27. /// <summary>
  28. /// 启用状态
  29. /// </summary>
  30. [DisplayName("启用状态")]
  31. public bool IsEnable { get; set; }
  32. /// <summary>
  33. /// 启用状态
  34. /// </summary>
  35. [DisplayName("启用状态")]
  36. public int? RecordStatus { get; set; }
  37. /// <summary>
  38. /// 启用状态
  39. /// </summary>
  40. [DisplayName("启用状态")]
  41. public string RecordStatusStr {
  42. get {
  43. return RecordStatus == 1 ? "是":"否";
  44. }
  45. }
  46. /// <summary>
  47. /// 创建人
  48. /// </summary>
  49. [DisplayName("创建人")]
  50. public Guid? CreateUserID { get; set; }
  51. /// <summary>
  52. /// 创建时间
  53. /// </summary>
  54. [DisplayName("创建时间")]
  55. public DateTime? CreateTime { get; set; }
  56. /// <summary>
  57. /// 修改人
  58. /// </summary>
  59. [DisplayName("修改人")]
  60. public Guid? ModifyUserID { get; set; }
  61. /// <summary>
  62. /// 修改时间
  63. /// </summary>
  64. [DisplayName("修改时间")]
  65. public DateTime? ModifyTime { get; set; }
  66. }
  67. }