using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.DQPSystem { public class SOCStudentView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid SOCDetailID { get; set; } /// /// 课程SOCID /// [DisplayName("课程SOCID")] public Guid? SOCID { get; set; } public Guid? SOCDetailGroupID { get; set; } /// /// 学年学期ID /// [DisplayName("学年学期ID")] public Guid? SchoolyearID { get; set; } /// /// 学年学期 /// [DisplayName("学年学期")] public string SchoolyearCode { get; set; } /// /// 课程资料 /// [Required] [DisplayName("课程资料")] public Guid? CoursematerialID { get; set; } /// /// 课程资料代码 /// [DisplayName("课程资料代码")] public string CourseCode { get; set; } /// /// 课程名称 /// [DisplayName("课程名称")] public string CourseName { get; set; } /// /// 成果名称 /// [DisplayName("成果名称")] public string Name { get; set; } /// /// 成果学分 /// [DisplayName("成果学分")] public decimal? Credit { get; set; } /// /// 成果权重 /// [DisplayName("成果权重")] public decimal? Weight { get; set; } /// /// 开始上传时间 /// [DisplayName("开始上传时间")] public DateTime? StartTime { get; set; } /// /// 截止上传时间 /// [DisplayName("截止上传时间")] public DateTime? EndTime { get; set; } /// /// 是否已上传 /// [DisplayName("是否已上传")] public int? RecordStatus { get; set; } public string RecordStatusDesc { get { return IdNameExt.GetDictionaryItem(DictionaryItem.DQP_SOCDetailSubmitStatus.ToString()) .Where(x => x.Value == RecordStatus) .Select(x => x.Name).FirstOrDefault(); } } [DisplayName("意见")] public string Remark { get; set; } } }