123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.ExaminationApply
- {
- public class ExaminationClassStudentStatisticsView
- {
- public Guid? UserID { get; set; }
- [DisplayName("报名费")]
- public Nullable<decimal> Cost { get; set; }
- [DisplayName("报名人数")]
- public int? StudentCount { get; set; }
- [DisplayName("学号")]
- public string StudentNo { get; set; }
- [DisplayName("姓名")]
- public string Name { get; set; }
- [DisplayName("性别")]
- public int? Sex { get; set; }
- [DisplayName("性别")]
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == Sex)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("班级名称")]
- public Guid? ClassmajorID { get; set; }
- [DisplayName("班级名称")]
- public string ClassmajorName { get; set; }
- [DisplayName("班号")]
- public string ClassmajorNo { get; set; }
- [DisplayName("年级专业名称")]
- public Guid? GrademajorID { get; set; }
- [DisplayName("年级专业名称")]
- public string GrademajorName { get; set; }
- [DisplayName("年级专业号")]
- public string GrademajorNo { get; set; }
- [DisplayName("科目名称")]
- public string SubjectName { get; set; }
- [DisplayName("科目ID")]
- public Guid? SubjectID { get; set; }
- [DisplayName("证件类型")]
- public int? CertificatesType { get; set; }
- [DisplayName("证件类型")]
- public string CertificatesTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
- .Where(x => x.Value == CertificatesType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("证件号码")]
- public string IDNumber { get; set; }
- /// <summary>
- /// 银行卡号
- /// </summary>
- [DisplayName("银行卡号")]
- public string CardNo { get; set; }
- [DisplayName("学历")]
- public int? EducationID { get; set; }
- [DisplayName("学历")]
- public string EducationName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString())
- .Where(x => x.Value == EducationID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("学制")]
- public decimal? LearnSystem { get; set; }
- [DisplayName("入学年份")]
- public int? Year { get; set; }
- //public int? StartSchoolyearValue { get; set; }
- //public int? EndSchoolyearValue { get; set; }
- [DisplayName("报名学年学期")]
- public Guid? SchoolyearID { get; set; }
- [DisplayName("报名学年学期")]
- public string SchoolyearCode { get; set; }
- [DisplayName("考试学年学期")]
- public Guid? ExaminationSchoolyearID { get; set; }
- [DisplayName("考试学年学期")]
- public string ExaminationSchoolyearCode { get; set; }
- [DisplayName("年级")]
- public int? SchoolyearNumID { get; set; }
- [DisplayName("年级")]
- public string SchoolyearNumName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolyearNum.ToString())
- .Where(x => x.Value == SchoolyearNumID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("院系")]
- public Guid? CollegeID { get; set; }
- [DisplayName("院系")]
- public string CollegeName { get; set; }
- [DisplayName("专业")]
- public int? StandardID { get; set; }
- [DisplayName("专业")]
- public string StandardName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("报考次数")]
- public int RegistedCount { get; set; }
- [DisplayName("照片")]
- public string PhotoUrl { get; set; }
- }
- }
|