using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using EMIS.ViewModel.Cache; namespace EMIS.ViewModel.ExaminationApply { public class RegistrationStudentAddView { [DisplayName("考试批次ID")] public Guid? ExaminationBatchID { get; set; } [DisplayName("考试批次")] public string ExaminationBatchName { get; set; } [DisplayName("考试类型ID")] public Guid? ExaminationTypeID { get; set; } [DisplayName("考试类型")] public string ExaminationTypeName { get; set; } [DisplayName("项目ID")] public Guid? ExaminationProjectID { get; set; } [DisplayName("项目名称")] public string ExaminationProjectName { get; set; } [DisplayName("项目收费标准对应收费项ID")] public Guid? ExaminationProjectFeeID { get; set; } [DisplayName("项目收费标准对应收费项")] public string ExaminationProjectFeeName { get; set; } [DisplayName("收费项ID")] public int? FeeTypeID { get; set; } [DisplayName("收费项")] public string FeeTypeName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString()) .Where(x => x.Value == FeeTypeID) .Select(x => x.Name).FirstOrDefault(); } } //public } }