123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.Students
- {
- public class StudentsView
- {
- /// <summary>
- /// 用户ID
- /// </summary>
- [DisplayName("用户ID")]
- public Guid UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [Required]
- [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "只能输入数字和英文字母")]
- [DisplayName("学号")]
- public string LoginID { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [Required]
- [DisplayName("姓名")]
- public string UserName { get; set; }
- public string Name
- {
- get
- {
- return UserName;
- }
- }
- /// <summary>
- /// 性别
- /// </summary>
- [Required]
- [DisplayName("性别")]
- public int? SexID { get; set; }
- /// <summary>
- /// 性别名称
- /// </summary>
- [DisplayName("性别")]
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == SexID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 证件类型
- /// </summary>
- [Required]
- [DisplayName("证件类型")]
- public int? CertificatesType { get; set; }
- /// <summary>
- /// 证件号码
- /// </summary>
- [Required]
- [DisplayName("证件号码")]
- public string IDNumber { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [Required]
- [DisplayName("班级名称")]
- public Guid? ClassMajorID { get; set; }
- /// <summary>
- /// 班级编号
- /// </summary>
- [DisplayName("班级编号")]
- public string ClassMajorCode { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [DisplayName("班级名称")]
- public string ClassMajorName { get; set; }
- /// <summary>
- /// 班号
- /// </summary>
- [DisplayName("班号")]
- public int? ClassNum { get; set; }
- /// <summary>
- /// 班号
- /// </summary>
- [DisplayName("班号")]
- public string ClassNumStr {
- get
- {
- if (ClassNum.HasValue)
- {
- return ClassNum.ToString();
- }
- else
- {
- return "";
- }
- }
- }
- /// <summary>
- /// 照片
- /// </summary>
- [DisplayName("照片")]
- public string PhotoUrl { get; set; }
- /// <summary>
- /// 学籍状态
- /// </summary>
- [Required]
- [DisplayName("学籍状态")]
- public int? StudentStatus { get; set; }
- /// <summary>
- /// 学籍状态名称
- /// </summary>
- [DisplayName("学籍状态")]
- public string StudentStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString())
- .Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学生类别
- /// </summary>
- [Required]
- [DisplayName("学生类别")]
- public int? StudentType { get; set; }
- /// <summary>
- /// 学生类别名称
- /// </summary>
- [DisplayName("学生类别名称")]
- public string StudentTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_STUDENTTYPE.ToString())
- .Where(x => x.Value == StudentType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学籍卡编号
- /// </summary>
- [DisplayName("学籍卡编号")]
- public string StudentCardNo { get; set; }
- /// <summary>
- /// 学籍卡编号
- /// </summary>
- [DisplayName("办学类型")]
- public string BXLX { get; set; }
- /// <summary>
- /// 培养方式
- /// </summary>
- [DisplayName("培养方式")]
- public int? CultureModel { get; set; }
- /// <summary>
- /// 培养方式
- /// </summary>
- [DisplayName("培养方式名称")]
- public string CultureModelName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CULTUREMODEL.ToString())
- .Where(x => x.Value == CultureModel)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 毕结业证书编号
- /// </summary>
- [DisplayName("毕结业证书编号")]
- public string GraduateCardNo { get; set; }
- /// <summary>
- /// 毕业结论
- /// </summary>
- [Required]
- [DisplayName("毕业结论")]
- public int? GraduationResult { get; set; }
- /// <summary>
- /// 校长名
- /// </summary>
- [DisplayName("校长名")]
- public string HeadMasterName { get; set; }
- /// <summary>
- /// 毕业结论
- /// </summary>
- [DisplayName("毕业结论")]
- public string GraduationResultName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString())
- .Where(x => x.Value == GraduationResult)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 预计毕业日期
- /// </summary>
- [DisplayName("预计毕业日期")]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
- public DateTime? PlanningGraduateDate { get; set; }
- public string PlanningGraduateStr { get; set; }
- public DateTime? PlanningGraduateDateStr { get; set; }
- [DisplayName("预计毕业学年学期")]
- public Guid? PlanningGraduateSchoolYearID { get; set; }
- [DisplayName("预计毕业年")]
- public int? PlanningGraduateYear { get; set; }
- [DisplayName("预计毕业学期")]
- public int? PlanningGraduateSchoolCodeID { get; set; }
- [DisplayName("预计毕业学期代码")] //CF_Schoolcode 值
- public int? PlanningGraduateSchoolCode { get; set; }
- [DisplayName("预计毕业学期名称")] //CF_Schoolcode Name 春季或秋季
- public string PlanningGraduateSchoolCodeName { get; set; }
- /// <summary>
- /// 在校状态
- /// </summary>
- [DisplayName("在校状态")]
- [Required]
- public int? InSchoolStatusID { get; set; }
- /// <summary>
- /// 在校状态名称
- /// </summary>
- [DisplayName("在校状态")]
- public string InSchoolStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString())
- .Where(x => x.Value == InSchoolStatusID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 报到状态
- /// </summary>
- [DisplayName("报到状态")]
- public int? ReportStatusID { get; set; }
- /// <summary>
- /// 报到状态Name
- /// </summary>
- [DisplayName("报到状态")]
- public string ReportStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ReportStatus.ToString())
- .Where(x => x.Value == ReportStatusID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- ///曾用名
- /// </summary>
- [DisplayName("曾用名")]
- public string UsedName { get; set; }
- /// <summary>
- /// 导师姓名
- /// </summary>
- [DisplayName("导师姓名")]
- public string DirectorName { get; set; }
- /// <summary>
- /// 出生日期
- /// </summary>
- [DisplayName("出生日期")]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
- public DateTime? BirthDate { get; set; }
- /// <summary>
- /// 毕业日期
- /// </summary>
- [DisplayName("毕业日期")]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
- public DateTime? GraduateDate { get; set; }
- /// <summary>
- /// 国籍
- /// </summary>
- [DisplayName("国籍")]
- public string Country { get; set; }
- /// <summary>
- /// 政治面貌
- /// </summary>
- [DisplayName("政治面貌")]
- [Required]
- public int? Politics { get; set; }
- //<summary>
- //政治面貌
- //</summary>
- [DisplayName("政治面貌")]
- public string PoliticsName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString())
- .Where(x => x.Value == Politics)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 民族
- /// </summary>
- [DisplayName("民族")]
- public int? Nation { get; set; }
- /// <summary>
- /// 籍贯
- /// </summary>
- [DisplayName("籍贯")]
- public string Place { get; set; }
- /// <summary>
- /// 健康状态
- /// </summary>
- [DisplayName("健康状态")]
- public int? Healthy { get; set; }
- /// <summary>
- /// 血型
- /// </summary>
- [DisplayName("血型")]
- public int? BloodGroup { get; set; }
- /// <summary>
- /// 血型名称
- /// </summary>
- [DisplayName("血型名称")]
- public string BloodGroupName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_BLOODGROUP.ToString())
- .Where(x => x.Value == BloodGroup)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- ///// <summary>
- ///// 出生地
- ///// </summary>
- //[DisplayName("出生地")]
- //public string BornPlace { get; set; }
- /// <summary>
- /// 特长
- /// </summary>
- [DisplayName("特长")]
- public string Specialty { get; set; }
- /// <summary>
- /// 身高
- /// </summary>
- [DisplayName("身高")]
- public string Height { get; set; }
- /// <summary>
- /// 体重
- /// </summary>
- [DisplayName("体重")]
- public string Weight { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string Remarks { get; set; }
- /// <summary>
- /// 毕业照片
- /// </summary>
- [DisplayName("毕业照片")]
- public string GraduationPictureUrl { get; set; }
- /// <summary>
- /// 电子邮件
- /// </summary>
- [DisplayName("电子邮件")]
- public string Email { get; set; }
- /// <summary>
- /// QQ
- /// </summary>
- [DisplayName("QQ")]
- public string QQ { get; set; }
- /// <summary>
- /// 微信号
- /// </summary>
- [DisplayName("微信号")]
- public string MicroMsgNo { get; set; }
- /// <summary>
- /// 移动电话
- /// </summary>
- [DisplayName("移动电话")]
- public string Mobile { get; set; }
- /// <summary>
- /// 固定电话
- /// </summary>
- [DisplayName("固定电话")]
- public string Telephone { get; set; }
- /// <summary>
- /// 邮编
- /// </summary>
- [DisplayName("邮编")]
- public string ZipCode { get; set; }
- /// <summary>
- /// 家庭地址
- /// </summary>
- [DisplayName("家庭地址")]
- public string HomeAddress { get; set; }
- /// <summary>
- /// 收件人
- /// </summary>
- [DisplayName("收件人")]
- public string Recipient { get; set; }
- /// <summary>
- /// 工作单位
- /// </summary>
- [DisplayName("工作单位")]
- public string WorkUnit { get; set; }
- /// <summary>
- /// 通信地址
- /// </summary>
- [DisplayName("通信地址")]
- public string Address { get; set; }
- /// <summary>
- /// 宿舍编号
- /// </summary>
- [DisplayName("宿舍编号")]
- public string Dormitory { get; set; }
- /// <summary>
- /// 银行卡号
- /// </summary>
- [DisplayName("银行卡号")]
- public string CardNo { get; set; }
- [DisplayName("周数")]
- public int WeeksNum { get; set; }
- /// <summary>
- /// 开户银行
- /// </summary>
- [DisplayName("开户银行")]
- public string BankName { get; set; }
- /// <summary>
- /// 考生号
- /// </summary>
- [DisplayName("考生号")]
- public string ExamineeNum { get; set; }
- /// <summary>
- /// 考生类别
- /// </summary>
- [DisplayName("考生类别")]
- public int? ExamineeType { get; set; }
- /// <summary>
- /// 入学日期
- /// </summary>
- [DisplayName("入学日期")]
- [DataType(DataType.Date)]
- [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")]
- public DateTime? EntranceDate { get; set; }
- /// <summary>
- /// 入学学期
- /// </summary>
- [Required]
- [DisplayName("入学学期")]
- public Guid? EnteringSchoolYearID { get; set; }
- /// <summary>
- /// 入学学期
- /// </summary>
- [DisplayName("入学学期")]
- public string EnteringSchoolYearCode { get; set; }
- /// <summary>
- /// 入学方式
- /// </summary>
- [DisplayName("入学方式")]
- public int? EntranceWay { get; set; }
- /// <summary>
- /// 生源所属地
- /// </summary>
- [DisplayName("生源所属地")]
- public int? Territorial { get; set; }
- /// <summary>
- /// 生源所属地名称
- /// </summary>
- [DisplayName("生源所属地名称")]
- public string TerritorialName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Province.ToString())
- .Where(x => x.Value == Territorial)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 来源地区
- /// </summary>
- [DisplayName("来源地区")]
- public string Area { get; set; }
- /// <summary>
- /// 高考总分
- /// </summary>
- [DisplayName("高考总分")]
- public decimal? Score { get; set; }
- /// <summary>
- /// 考生特征
- /// </summary>
- [DisplayName("考生特征")]
- public int? Features { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public int? Grade { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public int? Years { get; set; }
- /// <summary>
- /// 出生地
- /// </summary>
- [DisplayName("出生地")]
- public string Placebirth { get; set; }
- /// <summary>
- /// 民族姓名
- /// </summary>
- [DisplayName("民族")]
- public string NationName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Nation.ToString())
- .Where(x => x.Value == Nation)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 校区ID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusID")]
- public Guid? CampusID { get; set; }
- /// <summary>
- /// 校区ID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
- public string CampusName { get; set; }
- /// <summary>
- /// 办学类型
- /// </summary>
- [DisplayName("办学类型")]
- public int? SchoolTypeID { get; set; }
- /// <summary>
- /// 办学类型
- /// </summary>
- [DisplayName("办学类型")]
- public string SchoolTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolType.ToString())
- .Where(x => x.Value == SchoolTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学院ID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
- public Guid? CollegeID { get; set; }
- public string CollegeCode { get; set; }
- /// <summary>
- /// 学院
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 培养层次
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
- public int? EducationID { get; set; }
- /// <summary>
- /// 院校代码
- /// </summary>
- [DisplayName("院校代码")]
- public string SchoolCode { get; set; }
- /// <summary>
- /// 院校名称
- /// </summary>
- [DisplayName("院校名称")]
- public string SchoolName { get; set; }
- /// <summary>
- /// 学制
- /// </summary>
- [DisplayName("学制")]
- public decimal? LearnSystem { get; set; }
- /// <summary>
- /// 培养方案
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
- public string EducationName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString())
- .Where(x => x.Value == EducationID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 标准专业
- /// </summary>
- [DisplayName("标准专业")]
- public int? StandardID { get; set; }
- /// <summary>
- /// 专业代码
- /// </summary>
- [DisplayName("专业代码")]
- public string StandardCode
- {
- get
- {
- var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Code).FirstOrDefault();
- return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
- }
- }
- /// <summary>
- /// 标准专业名称
- /// </summary>
- [DisplayName("专业名称")]
- public string StandardName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学习形式
- /// </summary>
- [DisplayName("学习形式")]
- public int? LearningformID { get; set; }
- /// <summary>
- /// 学习形式
- /// </summary>
- [DisplayName("学习形式")]
- public string LearningformName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString())
- .Where(x => x.Value == LearningformID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 证件名称
- /// </summary>
- [DisplayName("证件名称")]
- public string CertificatesTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
- .Where(x => x.Value == CertificatesType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 考生类别
- /// </summary>
- [DisplayName("考生类别")]
- public string ExamineeTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_EXAMINEETYPE.ToString())
- .Where(x => x.Value == ExamineeType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 入学方式
- /// </summary>
- [DisplayName("入学方式")]
- public string EntranceWayName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_EntranceWay.ToString())
- .Where(x => x.Value == EntranceWay)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 考生特征
- /// </summary>
- [DisplayName("考生特征")]
- public string FeaturesName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Features.ToString())
- .Where(x => x.Value == Features)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 健康状态
- /// </summary>
- [DisplayName("健康状态")]
- public string HealthyName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_HealthState.ToString())
- .Where(x => x.Value == Healthy)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 年级专业ID
- /// </summary>
- public Guid? GradeMajorID { get; set; }
- /// <summary>
- /// 临时记录ID
- /// 用于记录异动涉及更新表的相关ID
- /// </summary>
- public Guid? TepTableID { get; set; }
- /// <summary>
- /// 年级专业代码
- /// </summary>
- [DisplayName("专业代码")]
- public string GradeMajorCode { get; set; }
- /// <summary>
- /// 年级专业名称
- /// </summary>
- [DisplayName("年级专业名称")]
- public string GradeMajorName { get; set; }
- /// <summary>
- /// 院系所专业
- /// </summary>
- [DisplayName("院系所专业")]
- public string FacultymajorName { get; set; }
- ///// <summary>
- ///// 毕结业证书编号
- ///// </summary>
- //[DisplayName("毕结业证书编号")]
- //public string GraduationNumber { get; set; }
- /// <summary>
- ///是否有照片
- /// </summary>
- [DisplayName("是否有照片")]
- public int IsPhoto
- {
- get;
- set;
- }
- /// <summary>
- /// 是否核对
- /// </summary>
- [DisplayName("是否核对")]
- public bool? IsProofread { get; set; }
- /// <summary>
- /// 是否核对
- /// </summary>
- [DisplayName("是否核对")]
- public string IsProofreadStr
- {
- get { return this.IsProofread == null ? "" : (IsProofread == true ? "是":"否"); }
- }
- /// <summary>
- ///是否有照片
- /// </summary>
- [DisplayName("是否有照片")]
- public string IsPhotoUrl
- {
- get;
- set;
- }
- /// <summary>
- /// 圆梦计划
- /// </summary>
- [Required]
- [DisplayName("圆梦计划")]
- public bool IsDreamProject { get; set; }
- /// <summary>
- /// 在校经历
- /// </summary>
- [DisplayName("在校经历")]
- public string Career { get; set; }
- /// <summary>
- /// 是否是圆梦计划
- /// </summary>
- [DisplayName("是否是圆梦计划")]
- public string IsDreamProjectName
- {
- get { return this.IsDreamProject != true ? "否" : "是"; }
- }
- /// <summary>
- /// 补考次数
- /// </summary>
- [DisplayName("补考次数")]
- public int MakeupNum { get; set; }
- /// <summary>
- /// 是否可以修改
- /// </summary>
- public bool IsCanChange { get; set; }
- public string AdmissionTicketNo { get; set; }
- public bool LoginIDToPicture { get; set; }
- public string ExportPictureType { get; set; }
- /// <summary>
- /// 补证号
- /// </summary>
- [DisplayName("补证号")]
- public string ReplaceGraduateNo { get; set; }
- /// <summary>
- /// 文化程度
- /// </summary>
- [DisplayName("文化程度")]
- public int? LiteracyLevels { get; set; }
- /// <summary>
- /// 文化程度
- /// </summary>
- [DisplayName("文化程度")]
- public string LiteracyLevelsStr { get; set; }
- /// <summary>
- /// 文化程度
- /// </summary>
- [DisplayName("文化程度")]
- public string LiteracyLevelsName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_LiteracyLevel.ToString())
- .Where(x => x.Value == LiteracyLevels)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- }
|