EvaluationNormView.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.EvaluationManage
  8. {
  9. public class EvaluationNormView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? NormID { get; set; }
  16. ///// <summary>
  17. ///// 评分编号
  18. ///// </summary>
  19. //[Required]
  20. //[DisplayName("评分编号")]
  21. //public string Code { get; set; }
  22. /// <summary>
  23. /// 评分标准
  24. /// </summary>
  25. [Required]
  26. [DisplayName("评分标准")]
  27. public string Name { get; set; }
  28. /// <summary>
  29. /// 评分类型
  30. /// </summary>
  31. [Required]
  32. [DisplayName("评分类型")]
  33. public int? IntType { get; set; }
  34. /// <summary>
  35. /// 评分类型
  36. /// </summary>
  37. [DisplayName("评分类型")]
  38. public string EvaluationNormType { get; set; }
  39. /// <summary>
  40. /// 满意权重
  41. /// </summary>
  42. [Required]
  43. [DisplayName("满意权重")]
  44. [RegularExpression(@"^\d+(\.\d{1})?$", ErrorMessage = "请输入整数或保留1位小数")]
  45. public decimal? SatisfyWeight { get; set; }
  46. /// <summary>
  47. /// 备注
  48. /// </summary>
  49. [DisplayName("备注")]
  50. public string Remark { get; set; }
  51. /// <summary>
  52. /// 创建人
  53. /// </summary>
  54. [DisplayName("创建人")]
  55. public Guid? CreateUserID { get; set; }
  56. /// <summary>
  57. /// 创建时间
  58. /// </summary>
  59. [DisplayName("创建时间")]
  60. public DateTime? CreateTime { get; set; }
  61. /// <summary>
  62. /// 更新人
  63. /// </summary>
  64. [DisplayName("更新人")]
  65. public Guid? ModifyUserID { get; set; }
  66. /// <summary>
  67. /// 更新时间
  68. /// </summary>
  69. [DisplayName("更新时间")]
  70. public DateTime? ModifyTime { get; set; }
  71. }
  72. }