ProjectFeeTypeView.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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
  8. {
  9. public class ProjectFeeTypeView
  10. {
  11. public Guid ExaminationProjectFeeTypeID { get; set; }
  12. public Guid? ExaminationProjectFeeID { get; set; }
  13. //[Required]
  14. [DisplayName("收费项")]
  15. public string FeeTypeName { get; set; }
  16. [Required]
  17. [DisplayName("费用")]
  18. [RegularExpression(@"^[0-9.]+$", ErrorMessage = "请输入数字")]
  19. public decimal? Fee { get; set; }
  20. [DisplayName("新报是否必选")]
  21. public bool? IsRequiredForNew { get; set; }
  22. [DisplayName("是否补考项目")]
  23. public bool? IsResit { get; set; }
  24. [DisplayName("是否培训费")]
  25. public bool? IsTrainingFee { get; set; }
  26. [DisplayName("是否需要教材")]
  27. public bool? IsMaterial { get; set; }
  28. [Required]
  29. [DisplayName("收费项编号")]
  30. public int? FeeTypeID { get; set; }
  31. [DisplayName("是否补考项目")]
  32. public string IsResitText { get; set; }
  33. [DisplayName("是否培训费")]
  34. public string IsTrainingFeeText { get; set; }
  35. [DisplayName("是否需要教材")]
  36. public string IsMaterialText { get; set; }
  37. }
  38. }