using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using EMIS.ViewModel.CacheManage; namespace EMIS.ViewModel.TerminatePrinter { public class StudentPrintTimesView { public Guid StudentPrintTimesID { get; set; } public Guid? CollegeID { get; set; } public string CollegeNo { get; set; } public string CollegeName { get; set; } public int? YearID { get; set; } public 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(); } } public Guid? ClassmajorID { get; set; } public string ClassmajorNo { get; set; } public string ClassmajorName { get; set; } public Nullable UserID { get; set; } public string LoginID { get; set; } public string Name { get; set; } public bool? IsInSchool { get; set; } public string IsInSchoolDesc { get { return (IsInSchool == true ? "在校" : "不在校"); } } public Nullable Times { get; set; } /// /// 状态 /// [DisplayName("状态")] public int? RecordStatus { get; set; } /// /// 创建人 /// [DisplayName("创建人")] public Guid? CreateUserID { get; set; } /// /// 创建时间 /// [DisplayName("创建时间")] public DateTime? CreateTime { get; set; } /// /// 修改人 /// [DisplayName("修改人")] public Guid? ModifyUserID { get; set; } /// /// 修改时间 /// [DisplayName("修改时间")] public DateTime? ModifyTime { get; set; } } }