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
{
///
/// 学生ID
///
[DisplayName("学生ID")]
public Guid? UserID { get; set; }
///
/// 课程名称
///
[DisplayName("课程名称")]
public string CourseName { get; set; }
///
/// 成绩
///
[DisplayName("成绩")]
public decimal? TotalScore { get; set; }
///
/// 学分
///
[DisplayName("学分")]
public decimal? ScoreCredit { get; set; }
///
/// 课程ID
///
[DisplayName("课程ID")]
public Guid? CoursematerialID { get; set; }
///
/// 学年数
///
[DisplayName("学年数")]
public int? SchoolyearNumID { get; set; }
///
/// 开课学期
///
[DisplayName("开课学期")]
public int? StarttermID { get; set; }
///
/// 开课学期
///
[DisplayName("开课学期")]
public string StarttermName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Startterm.ToString())
.Where(x => x.Value == StarttermID)
.Select(x => x.Name).FirstOrDefault();
}
}
}
}