EvaluationSensitiveWordView.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.EvaluationManage.EvaluationSetting
  9. {
  10. public class EvaluationSensitiveWordView
  11. {
  12. /// <summary>
  13. /// 主键ID
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid EvaluationSensitiveWordID { get; set; }
  17. /// <summary>
  18. /// 参数类型
  19. /// </summary>
  20. [Required]
  21. [DisplayName("参数类型")]
  22. public int? ParameterTypeID { get; set; }
  23. /// <summary>
  24. /// 参数类型
  25. /// </summary>
  26. [DisplayName("参数类型")]
  27. public string ParameterTypeName
  28. {
  29. get
  30. {
  31. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ParameterType.ToString()).Where(x => x.Value == ParameterTypeID).Select(x => x.Name).FirstOrDefault();
  32. }
  33. }
  34. /// <summary>
  35. /// 敏感词
  36. /// </summary>
  37. [DisplayName("敏感词")]
  38. public string Value { get; set; }
  39. /// <summary>
  40. /// 状态
  41. /// </summary>
  42. [DisplayName("状态")]
  43. public int? RecordStatus { get; set; }
  44. /// <summary>
  45. /// 创建人
  46. /// </summary>
  47. [DisplayName("创建人")]
  48. public Guid? CreateUserID { get; set; }
  49. /// <summary>
  50. /// 创建人
  51. /// </summary>
  52. [DisplayName("创建人")]
  53. public string CreateUserName { get; set; }
  54. /// <summary>
  55. /// 创建时间
  56. /// </summary>
  57. [DisplayName("创建时间")]
  58. public DateTime? CreateTime { get; set; }
  59. /// <summary>
  60. /// 修改人
  61. /// </summary>
  62. [DisplayName("修改人")]
  63. public Guid? ModifyUserID { get; set; }
  64. /// <summary>
  65. /// 修改人
  66. /// </summary>
  67. [DisplayName("修改人")]
  68. public string ModifyUserName { get; set; }
  69. /// <summary>
  70. /// 修改时间
  71. /// </summary>
  72. [DisplayName("修改时间")]
  73. public DateTime? ModifyTime { get; set; }
  74. }
  75. }