using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using EMIS.ViewModel.CacheManage;
using System.ComponentModel.DataAnnotations;
namespace EMIS.ViewModel.Students
{
public class SubmitedScoreView
{
///
/// 主键
///
[DisplayName("主键")]
public Guid SubmitedScoreID { get; set; }
public Guid? UserID { get; set; }
///
/// 学号
///
[DisplayName("学号")]
public string LoginID { get; set; }
///
/// 姓名
///
[DisplayName("姓名")]
public string UserName { get; set; }
///
/// 学年学期
///
[DisplayName("学年学期")]
public Guid? SchoolyearID { get; set; }
///
/// 学期
///
[DisplayName("学期")]
public string SchoolyearCode { get; set; }
///
/// 学期
///
[DisplayName("学期")]
public int? Schoolyear { get; set; }
///
/// 科目号
///
[DisplayName("科目号")]
public string CourseCode { get; set; }
///
/// 科目
///
[DisplayName("科目")]
public string CourseName { get; set; }
///
/// 总成绩
///
[DisplayName("总成绩")]
public decimal? TotalScore { get; set; }
public string TotalScoreStr { get; set; }
///
/// 平时成绩
///
//[DisplayName("平时成绩")]
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Peacetime")]
public decimal? Pingshi { get; set; }
///
/// 技术成绩
///
//[DisplayName("技术成绩")]
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Technique")]
public decimal? Jishu { get; set; }
///
/// 理论成绩
///
//[DisplayName("理论成绩")]
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Theoretical")]
public decimal? Lilun { get; set; }
///
/// 课程学分
///
[DisplayName("课程学分")]
public decimal? ScoreCredit { get; set; }
///
/// 类型
///
[DisplayName("类型")]
public string CoursetypeName { get; set; }
///
/// 录入时间
///
[DisplayName("录入时间")]
public DateTime? CreateTime { get; set; }
///
/// 操作员
///
[DisplayName("操作员")]
public string OperaUser { get; set; }
///
/// 考试性质
///
[DisplayName("考试性质")]
public string ExamsCategoryName { get; set; }
///
/// 考试状态
///
[DisplayName("考试状态")]
public string ExamsStateName { get; set; }
public Guid? CoursematerialID { get; set; }
public int? StarttermID { get; set; }
public string Startterm
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Startterm.ToString())
.Where(x => x.Value == StarttermID)
.Select(x => x.Code).FirstOrDefault();
}
}
///
/// 备注
///
[DisplayName("备注")]
public string Remarks { get; set; }
///
/// 备注
///
[DisplayName("备注")]
public string StudentScoreRemark { get; set; }
}
}