123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- using EMIS.ViewModel.CacheManage;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.SystemView
- {
- public class StudentUserView
- {
- /// <summary>
- /// UserID
- /// </summary>
- public System.Guid UserID { get; set; }
- /// <summary>
- /// CollegeID
- /// </summary>
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// LoginID
- /// </summary>
- public string LoginID { get; set; }
- /// <summary>
- /// Name
- /// </summary>
- public string Name { get; set; }
- public DateTime? BirthDate { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- public int? SexID { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- [DisplayName("性别")]
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == SexID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 角色名称
- /// </summary>
- public string RoleTypeName { get; set; }
- public Guid? RoleID { get; set; }
- public string RoleName { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- public int? Grade { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public string GradeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == Grade).Select(x => x.Name).FirstOrDefault();
- }
- }
- public Guid? ClassmajorID { get; set; }
- /// <summary>
- /// 班级编号
- /// </summary>
- public string ClassNo { get; set; }
- public string ClassmajorName { get; set; }
- /// <summary>
- /// 在校状态
- /// </summary>
- public int? InSchool { get; set; }
- /// <summary>
- /// 在校状态
- /// </summary>
- [DisplayName("在校状态")]
- public string InSchoolName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString())
- .Where(x => x.Value == InSchool)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public string Remarks { get; set; }
- /// <summary>
- /// RecordStatus
- /// </summary>
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusDesc { get; set; }
- /// <summary>
- /// CreateUserID
- /// </summary>
- public Nullable<System.Guid> CreateUserID { get; set; }
- public string CreateUserName { get; set; }
- /// <summary>
- /// CreateTime
- /// </summary>
- public Nullable<System.DateTime> CreateTime { get; set; }
- /// <summary>
- /// ModifyUserID
- /// </summary>
- public Nullable<System.Guid> ModifyUserID { get; set; }
- public string ModifyUserName { get; set; }
- /// <summary>
- /// ModifyTime
- /// </summary>
- public Nullable<System.DateTime> ModifyTime { get; set; }
- }
- }
|