123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.Students
- {
- public class StudentFamilyView
- {
- /// <summary>
- /// StudentFamilyID
- /// </summary>
- public System.Guid StudentFamilyID { get; set; }
- /// <summary>
- /// UserID
- /// </summary>
- public Nullable<System.Guid> UserID { get; set; }
- /// <summary>
- /// Name
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// Relation
- /// </summary>
- public string Relation { get; set; }
- /// <summary>
- /// Age
- /// </summary>
- public Nullable<int> Age { get; set; }
- /// <summary>
- /// Politics
- /// </summary>
- public Nullable<int> Politics { get; set; }
- public string PoliticsDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString())
- .Where(x => x.Value == Politics)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// Unit
- /// </summary>
- public string Unit { get; set; }
- /// <summary>
- /// PhoneNumber
- /// </summary>
- public string PhoneNumber { get; set; }
- }
- }
|