EvaluationNormDetailView.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 EvaluationNormDetailView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? DetailID { get; set; }
  16. /// <summary>
  17. /// 评价标准
  18. /// </summary>
  19. [DisplayName("评价标准")]
  20. public Guid? NormID { get; set; }
  21. /// <summary>
  22. /// 次序
  23. /// </summary>
  24. [Required]
  25. [DisplayName("次序")]
  26. public int? OrderID { get; set; }
  27. /// <summary>
  28. /// 明细ID
  29. /// </summary>
  30. [DisplayName("明细ID")]
  31. public Guid? ProjectID { get; set; }
  32. /// <summary>
  33. /// 名称
  34. /// </summary>
  35. [Required]
  36. [DisplayName("名称")]
  37. public string Name { get; set; }
  38. /// <summary>
  39. /// 权重
  40. /// </summary>
  41. [DisplayName("权重")]
  42. [Required]
  43. //[RegularExpression(@"^[1-9]d*$", ErrorMessage = "必须填写正整数")]
  44. public decimal? Weight { get; set; }
  45. /// <summary>
  46. /// 备注
  47. /// </summary>
  48. [DisplayName("备注")]
  49. public string Remark { get; set; }
  50. /// <summary>
  51. /// 创建人
  52. /// </summary>
  53. [DisplayName("创建人")]
  54. public Guid? CreateUserID { get; set; }
  55. /// <summary>
  56. /// 创建时间
  57. /// </summary>
  58. [DisplayName("创建时间")]
  59. public DateTime? CreateTime { get; set; }
  60. /// <summary>
  61. /// 更新人
  62. /// </summary>
  63. [DisplayName("更新人")]
  64. public Guid? ModifyUserID { get; set; }
  65. /// <summary>
  66. /// 更新时间
  67. /// </summary>
  68. [DisplayName("更新时间")]
  69. public DateTime? ModifyTime { get; set; }
  70. }
  71. }