123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- 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.ScoreManage
- {
- public class ScoreConvertByReplaceView
- {
- public System.Guid ScoreConvertByReplaceID { get; set; }
- [DisplayName("学年学期")]
- public Nullable<System.Guid> SchoolyearID { get; set; }
- public string SchoolyearCode { get; set; }
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Nullable<System.Guid> CollegeID { get; set; }
- public string CollegeNo { get; set; }
- public string CollegeName { get; set; }
- [DisplayName("年级")]
- public Nullable<int> YearID { get; set; }
- [DisplayName("专业")]
- public Nullable<int> StandardID { get; set; }
- public string StandardDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("班级")]
- public Nullable<Guid> ClassmajorID { get; set; }
- public string ClassmajorNo { get; set; }
- public string ClassmajorName { get; set; }
- [DisplayName("学号/姓名")]
- [Required]
- public Nullable<System.Guid> UserID { get; set; }
- public string LoginID { get; set; }
- public string Name { get; set; }
- [DisplayName("已通过课程")]
- public Nullable<System.Guid> SourceCoursematerialID { get; set; }
- public string SourceCourseCode { get; set; }
- public string SourceCourseName { get; set; }
- [DisplayName("总成绩")]
- public Nullable<decimal> TotalScore { get; set; }
-
- [DisplayName("替换课程")]
- public Nullable<System.Guid> TargetCoursematerialID { get; set; }
- public string TargetCourseCode { get; set; }
- public string TargetCourseName { get; set; }
- [DisplayName("原因")]
- public string Reason { get; set; }
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusDesc { get; set; }
- }
- }
|