using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using EMIS.ViewModel.CacheManage; using EMIS.Entities; namespace EMIS.ViewModel.EvaluationManage { public class StudentEvaluationCountView { //public List settinglst { get; set; } public Guid? UserID { get; set; } public Guid ExaminationRegistrationID { 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 string SubjectName { 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; } /// /// 银行卡号 /// [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 int? SchoolyearNumID { get; set; } public int? StartSchoolyearValue { get; set; } public int? EndSchoolyearValue { get; set; } [DisplayName("年级")] public string SchoolyearNumName { get { return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Year.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("评价设定ID")] public Guid? EvaluationSettingID { get; set; } [DisplayName("评价设定")] public string EvaluationSettingName { get; set; } [DisplayName("教学任务班ID")] public Guid? EducationMissionClassID { get; set; } [DisplayName("已评人次")] public int? CompleteCount { get; set; } [DisplayName("未评人次")] public int? UncompletedCount { get; set; } [DisplayName("需评人次")] public int? NeedEvaluationCount { get; set; } } }