using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace EMIS.ViewModel { public class ExaminationProjectView { public Guid ExaminationProjectID { get; set; } [Required] [DisplayName("考试类型")] public Guid? ExaminationTypeID { get; set; } [Required] [DisplayName("考试类型")] public string ExaminationType { get; set; } [Required] [DisplayName("项目名称")] public string Name { get; set; } [Required] [DisplayName("考试级别")] public int? ExaminationLevelID { get; set; } [Required] [DisplayName("发证机关")] public int? IssuedByID { get; set; } [Required] [DisplayName("考试级别")] public string ExaminationLevelText { get; set; } [Required] [DisplayName("发证机关")] public string IssuedByIDText { get; set; } [DisplayName("报考限定通过项目")] public Guid? PreposeProjectID { get; set; } [DisplayName("构成科目")] public List ProjectSubjects { get; set; } [DisplayName("需交资料及注意事项")] public string Remark { get; set; } public int? RecordStatus { get; set; } public HashSet EX_ExaminationProjectSubject { get; set; } } public class ExaminationProjectViewNotSubject { public Guid ExaminationProjectID { get; set; } [Required] [DisplayName("考试类型")] public Guid? ExaminationTypeID { get; set; } [Required] [DisplayName("考试类型")] public string ExaminationType { get; set; } [Required] [DisplayName("项目名称")] public string Name { get; set; } [Required] [DisplayName("考试级别")] public int? ExaminationLevelID { get; set; } [Required] [DisplayName("发证机关")] public int? IssuedByID { get; set; } [Required] [DisplayName("考试级别")] public string ExaminationLevelText { get; set; } [Required] [DisplayName("发证机关")] public string IssuedByIDText { get; set; } [DisplayName("报考限定通过项目")] public Guid? PreposeProjectID { get; set; } [DisplayName("构成科目")] public List ProjectSubjects { get; set; } [DisplayName("需交资料及注意事项")] public string Remark { get; set; } public int? RecordStatus { get; set; } } }