123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- 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
- {
- /// <summary>
- /// 主键
- /// </summary>
- [DisplayName("主键")]
- public Guid SubmitedScoreID { get; set; }
- public Guid? UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [DisplayName("学号")]
- public string LoginID { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string UserName { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 学期
- /// </summary>
- [DisplayName("学期")]
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 学期
- /// </summary>
- [DisplayName("学期")]
- public int? Schoolyear { get; set; }
- /// <summary>
- /// 科目号
- /// </summary>
- [DisplayName("科目号")]
- public string CourseCode { get; set; }
- /// <summary>
- /// 科目
- /// </summary>
- [DisplayName("科目")]
- public string CourseName { get; set; }
- /// <summary>
- /// 总成绩
- /// </summary>
- [DisplayName("总成绩")]
- public decimal? TotalScore { get; set; }
- public string TotalScoreStr { get; set; }
- /// <summary>
- /// 平时成绩
- /// </summary>
- //[DisplayName("平时成绩")]
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Peacetime")]
- public decimal? Pingshi { get; set; }
- /// <summary>
- /// 技术成绩
- /// </summary>
- //[DisplayName("技术成绩")]
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Technique")]
- public decimal? Jishu { get; set; }
- /// <summary>
- /// 理论成绩
- /// </summary>
- //[DisplayName("理论成绩")]
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Theoretical")]
- public decimal? Lilun { get; set; }
- /// <summary>
- /// 课程学分
- /// </summary>
- [DisplayName("课程学分")]
- public decimal? ScoreCredit { get; set; }
- /// <summary>
- /// 类型
- /// </summary>
- [DisplayName("类型")]
- public string CoursetypeName { get; set; }
- /// <summary>
- /// 录入时间
- /// </summary>
- [DisplayName("录入时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 操作员
- /// </summary>
- [DisplayName("操作员")]
- public string OperaUser { get; set; }
- /// <summary>
- /// 考试性质
- /// </summary>
- [DisplayName("考试性质")]
- public string ExamsCategoryName { get; set; }
- /// <summary>
- /// 考试状态
- /// </summary>
- [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();
- }
- }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string Remarks { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string StudentScoreRemark { get; set; }
- }
- }
|