StudentPrintTimesView.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using EMIS.ViewModel.CacheManage;
  7. namespace EMIS.ViewModel.TerminatePrinter
  8. {
  9. public class StudentPrintTimesView
  10. {
  11. public Guid StudentPrintTimesID { get; set; }
  12. public Guid? CollegeID { get; set; }
  13. public string CollegeNo { get; set; }
  14. public string CollegeName { get; set; }
  15. public int? YearID { get; set; }
  16. public int? StandardID { get; set; }
  17. public string StandardDesc
  18. {
  19. get
  20. {
  21. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
  22. .Where(x => x.Value == StandardID)
  23. .Select(x => x.Name).FirstOrDefault();
  24. }
  25. }
  26. public Guid? ClassmajorID { get; set; }
  27. public string ClassmajorNo { get; set; }
  28. public string ClassmajorName { get; set; }
  29. public Nullable<System.Guid> UserID { get; set; }
  30. public string LoginID { get; set; }
  31. public string Name { get; set; }
  32. public bool? IsInSchool { get; set; }
  33. public string IsInSchoolDesc
  34. {
  35. get
  36. {
  37. return (IsInSchool == true ? "在校" : "不在校");
  38. }
  39. }
  40. public Nullable<int> Times { get; set; }
  41. /// <summary>
  42. /// 状态
  43. /// </summary>
  44. [DisplayName("状态")]
  45. public int? RecordStatus { get; set; }
  46. /// <summary>
  47. /// 创建人
  48. /// </summary>
  49. [DisplayName("创建人")]
  50. public Guid? CreateUserID { get; set; }
  51. /// <summary>
  52. /// 创建时间
  53. /// </summary>
  54. [DisplayName("创建时间")]
  55. public DateTime? CreateTime { get; set; }
  56. /// <summary>
  57. /// 修改人
  58. /// </summary>
  59. [DisplayName("修改人")]
  60. public Guid? ModifyUserID { get; set; }
  61. /// <summary>
  62. /// 修改时间
  63. /// </summary>
  64. [DisplayName("修改时间")]
  65. public DateTime? ModifyTime { get; set; }
  66. }
  67. }