1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.Students
- {
- public class CourseGradeView
- {
- /// <summary>
- /// 学生ID
- /// </summary>
- [DisplayName("学生ID")]
- public Guid? UserID { get; set; }
- /// <summary>
- /// 学年
- /// </summary>
- [DisplayName("学年")]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- [DisplayName("课程名称")]
- public string CourseName { get; set; }
- /// <summary>
- /// 课程背景颜色
- /// </summary>
- [DisplayName("课程背景颜色")]
- public string CourseTypeColour { get; set; }
- /// <summary>
- /// 俱乐部ID
- /// </summary>
- [DisplayName("俱乐部ID")]
- public Guid? Club { get; set; }
- /// <summary>
- /// 成绩
- /// </summary>
- [DisplayName("成绩")]
- public decimal? TotalScore { get; set; }
- public string TotalScoreStr { get; set; }
- /// <summary>
- /// 学分
- /// </summary>
- [DisplayName("学分")]
- public decimal? ScoreCredit { get; set; }
- /// <summary>
- /// 课程ID
- /// </summary>
- [DisplayName("课程ID")]
- public Guid? CoursematerialID { get; set; }
- /// <summary>
- /// 学年数
- /// </summary>
- [DisplayName("学年数")]
- public int? SchoolyearNumID { get; set; }
- /// <summary>
- /// 拟毕业日期
- /// </summary>
- [DisplayName("拟毕业日期")]
- public DateTime? PlanningGraduateDate { get; set; }
- /// <summary>
- /// 开课学期
- /// </summary>
- [DisplayName("开课学期")]
- public int? StarttermID { get; set; }
- /// <summary>
- /// 开课学期
- /// </summary>
- [DisplayName("开课学期")]
- public string StarttermName {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Startterm.ToString())
- .Where(x => x.Value == StarttermID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- }
- }
|