123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- 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.ScoreManage
- {
- public class ScoreConvertByLevelView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- public Guid? ScoreConvertByLevelScoreID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 过级成绩ID
- /// </summary>
- [Required]
- [DisplayName("考试科目")]
- public Guid? LevelScoreID { get; set; }
- /// <summary>
- /// 课程主键
- /// </summary>
- [Required]
- [DisplayName("课程")]
- public Guid? CoursematerialID { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- public string CourseName { get; set; }
- /// <summary>
- /// 课程代码
- /// </summary>
- public string CourseCode { get; set; }
- /// <summary>
- /// 成绩
- /// </summary>
- public decimal? Score { get; set; }
- public string ExaminationSubjectName { get; set; }
- /// <summary>
- /// 过级成绩
- /// </summary>
- public decimal? LeveLScore { get; set; }
- /// <summary>
- /// 院系所ID
- /// </summary>
- public Guid? CollegeID { 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 = "College")]
- public Guid? ReplaceCollegeID { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public int? Year { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public int? ReplaceYear { get; set; }
- /// <summary>
- /// 专业名称ID
- /// </summary>
- [DisplayName("专业")]
- public int? StandardID { get; set; }
- /// <summary>
- /// 专业名称
- /// </summary>
- public string StandardStr
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 专业名称
- /// </summary>
- [DisplayName("专业")]
- public int? ReplaceStandardID { get; set; }
- /// <summary>
- /// 班级ID
- /// </summary>
- [DisplayName("班级名称")]
- public Guid? ClassmajorID { get; set; }
- /// <summary>
- /// 班级ID
- /// </summary>
- [DisplayName("班级名称")]
- public Guid? ReplaceClassmajorID { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- public string ClassmajorName { get; set; }
- /// <summary>
- /// 用户ID
- /// </summary>
- public Guid? UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- public string LoginID { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- public string UserName { get; set; }
-
- /// <summary>
- /// 考试类型ID
- /// </summary>
- [DisplayName("考试类型")]
- public Nullable<System.Guid> ExaminationTypeID { get; set; }
- /// <summary>
- /// 考试类型
- /// </summary>
- [DisplayName("考试类型")]
- public string ExaminationTypeName { get; set; }
- /// <summary>
- /// 考试类别ID
- /// </summary>
- [DisplayName("考试类别")]
- public Nullable<int> ExaminationFormID { get; set; }
- /// <summary>
- /// 考试类别
- /// </summary>
- [DisplayName("考试类别")]
- public string ExaminationFormName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationForm.ToString())
- .Where(x => x.Value == ExaminationFormID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- }
|