123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.DQPSystem
- {
- public class SOCStudentScoreItemView
- {
- /// <summary>
- /// 学生ID
- /// </summary>
- [DisplayName("学生ID")]
- public Guid? UserID { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- [DisplayName("课程名称")]
- public string CourseName { get; set; }
- /// <summary>
- /// 成绩
- /// </summary>
- [DisplayName("成绩")]
- public decimal? TotalScore { 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 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();
- }
- }
- }
- }
|