123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- 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
- {
- public class ExamPersonControlView
- {
- public Guid ExaminationBatchProjectPersonControlID { get; set; }
- [Required]
- [DisplayName("考试批次项目设置")]
- public Guid? ExaminationBatchProjectID { get; set; }
- [DisplayName("考试批次")]
- public Guid? ExaminationBatchID { get; set; }
- [Required]
- [DisplayName("项目收费标准")]
- public Guid? ExaminationProjectFeeID { get; set; }
- [DisplayName("用户ID")]
- public Guid? UserID { get; set; }
- [DisplayName("是否线上缴费")]
- public bool? IsOnlinePay { get; set; }
- [Required]
- [DisplayName("考试批次项目设置")]
- public string ExaminationBatchProject { get; set; }
- [DisplayName("项目收费标准")]
- public string ExaminationProjectFee { get; set; }
- public Guid? ExaminationProjectID { get; set; }
- [Required]
- [DisplayName("报名起始时间")]
- public Nullable<System.DateTime> StartDate { get; set; }
- [Required]
- [DisplayName("报名截止时间")]
- public DateTime? EndDate { get; set; }
- [Required]
- [DisplayName("学年学期")]
- public Guid? SchoolYearCode { get; set; }
- [DisplayName("项目类型")]
- public string ExaminationType { get; set; }
- [DisplayName("项目名称")]
- public string ProjectName { get; set; }
- public string IsOnlinePayName { get; set; }
- [DisplayName("项目类型")]
- public Guid? ExaminationTypeID { get; set; }
- public string Schoolyear { get; set; }
- /// <summary>
- /// 院系专业名称
- /// </summary>
- [DisplayName("院系专业名称")]
- public string FacultymajorName { get; set; }
- /// <summary>
- /// 院系所名称
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 年级专业名称
- /// </summary>
- [DisplayName("年级专业名称")]
- public string GrademajorName { get; set; }
- public Guid? CollegeID { get; set; }
- public Guid? ClassmajorID { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [DisplayName("班级名称")]
- public string ClassmajorName { get; set; }
- /// <summary>
- /// 专业名称
- /// </summary>
- [DisplayName("专业名称")]
- public string SpecialtyName { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public string Years { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string UserName { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- [DisplayName("性别")]
- public int? Sex { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- [DisplayName("性别")]
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == Sex)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 身份证号
- /// </summary>
- [DisplayName("身份证号")]
- public string IDNumber { get; set; }
- /// <summary>
- /// 标准专业
- /// </summary>
- [DisplayName("标准专业")]
- public int? StandardID { get; set; }
- /// <summary>
- /// 标准专业名称
- /// </summary>
- [DisplayName("专业名称")]
- public string StandardName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- }
|