123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace EMIS.ViewModel
- {
- public class ProjectFeeTypeView
- {
- public Guid ExaminationProjectFeeTypeID { get; set; }
- public Guid? ExaminationProjectFeeID { get; set; }
- //[Required]
- [DisplayName("收费项")]
- public string FeeTypeName { get; set; }
- [Required]
- [DisplayName("费用")]
- [RegularExpression(@"^[0-9.]+$", ErrorMessage = "请输入数字")]
- public decimal? Fee { get; set; }
- [DisplayName("新报是否必选")]
- public bool? IsRequiredForNew { get; set; }
- [DisplayName("是否补考项目")]
- public bool? IsResit { get; set; }
- [DisplayName("是否培训费")]
- public bool? IsTrainingFee { get; set; }
- [DisplayName("是否需要教材")]
- public bool? IsMaterial { get; set; }
- [Required]
- [DisplayName("收费项编号")]
- public int? FeeTypeID { get; set; }
- [DisplayName("是否补考项目")]
- public string IsResitText { get; set; }
- [DisplayName("是否培训费")]
- public string IsTrainingFeeText { get; set; }
- [DisplayName("是否需要教材")]
- public string IsMaterialText { get; set; }
- }
- }
|