StudentFeeView.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Cache;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.FeeManage
  8. {
  9. public class StudentFeeView
  10. {
  11. public System.Guid ExaminationRegistrationID { get; set; }
  12. public Nullable<System.Guid> ExaminationBatchProjectID { get; set; }
  13. public Nullable<System.Guid> ExaminationProjectID { get; set; }
  14. public System.Guid? ExaminationRegistrationConfirmID { get; set; }
  15. /// <summary>
  16. /// 确认单号
  17. /// </summary>
  18. public string No { get; set; }
  19. /// <summary>
  20. /// 收据号
  21. /// </summary>
  22. public string ReceiptNo { get; set; }
  23. /// <summary>
  24. /// 项目名称
  25. /// </summary>
  26. public string ExaminationProjectName { get; set; }
  27. /// <summary>
  28. /// 考试批次
  29. /// </summary>
  30. public string ExaminationBatchName { get; set; }
  31. /// <summary>
  32. /// 学年学期
  33. /// </summary>
  34. public Nullable<System.Guid> SchoolyearID { get; set; }
  35. public string SchoolyearCode { get; set; }
  36. /// <summary>
  37. /// 报名项目
  38. /// </summary>
  39. public Nullable<System.Guid> ExaminationProjectFeeTypeID { get; set; }
  40. public Nullable<int> FeeTypeID { get; set; }
  41. public string FeeTypeName
  42. {
  43. get
  44. {
  45. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
  46. .Where(x => x.Value == FeeTypeID)
  47. .Select(x => x.Name).FirstOrDefault();
  48. }
  49. }
  50. /// <summary>
  51. /// 学生ID
  52. /// </summary>
  53. public Nullable<System.Guid> UserID { get; set; }
  54. /// <summary>
  55. /// 院系
  56. /// </summary>
  57. public Nullable<System.Guid> CollegeID { get; set; }
  58. /// <summary>
  59. /// 校区
  60. /// </summary>
  61. public int? SchoolAreaID { get; set; }
  62. public string SchoolAreaName
  63. {
  64. get
  65. {
  66. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolArea.ToString())
  67. .Where(x => x.Value == SchoolAreaID)
  68. .Select(x => x.Name).FirstOrDefault();
  69. }
  70. }
  71. /// <summary>
  72. /// 班级
  73. /// </summary>
  74. public Nullable<System.Guid> ClassmajorID { get; set; }
  75. public string ClassmajorName { get; set; }
  76. /// <summary>
  77. /// 学号
  78. /// </summary>
  79. public string LoginID { get; set; }
  80. /// <summary>
  81. /// 学号
  82. /// </summary>
  83. public string StudentNo { get; set; }
  84. /// <summary>
  85. /// 姓名
  86. /// </summary>
  87. public string UserName { get; set; }
  88. /// <summary>
  89. /// 性别
  90. /// </summary>
  91. public Nullable<int> Sex { get; set; }
  92. public string SexName
  93. {
  94. get
  95. {
  96. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
  97. .Where(x => x.Value == Sex)
  98. .Select(x => x.Name).FirstOrDefault();
  99. }
  100. }
  101. /// <summary>
  102. /// 证件类型
  103. /// </summary>
  104. public Nullable<int> CertificatesType { get; set; }
  105. public string CertificatesTypeName
  106. {
  107. get
  108. {
  109. return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
  110. .Where(x => x.Value == CertificatesType)
  111. .Select(x => x.Name).FirstOrDefault();
  112. }
  113. }
  114. [DisplayName("考试类型")]
  115. public Guid? ExaminationTypeID { get; set; }
  116. [DisplayName("考试类型")]
  117. public string ExaminationTypeName { get; set; }
  118. public string IDNumber { get; set; }
  119. /// <summary>
  120. /// 联系电话
  121. /// </summary>
  122. public string PhoneNumber { get; set; }
  123. /// <summary>
  124. /// 金额
  125. /// </summary>
  126. public Nullable<decimal> Fee { get; set; }
  127. /// <summary>
  128. /// Remark
  129. /// </summary>
  130. public string Remark { get; set; }
  131. /// <summary>
  132. /// 缴费状态
  133. /// </summary>
  134. public Nullable<int> RecordStatus { get; set; }
  135. public string RecordStatusName
  136. {
  137. get
  138. {
  139. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationRegistrationStatus.ToString())
  140. .Where(x => x.Value == RecordStatus)
  141. .Select(x => x.Name).FirstOrDefault();
  142. }
  143. }
  144. /// <summary>
  145. /// 收费时间
  146. /// </summary>
  147. public Nullable<System.DateTime> PayTime { get; set; }
  148. /// <summary>
  149. /// 开户银行
  150. /// </summary>
  151. [DisplayName("开户银行及支行")]
  152. public string BankName { get; set; }
  153. /// <summary>
  154. /// 银行卡号
  155. /// </summary>
  156. [DisplayName("银行卡号")]
  157. public string CardNo { get; set; }
  158. [DisplayName("缴费方式")]
  159. public int? PayWay { get; set; }
  160. [DisplayName("缴费方式")]
  161. public string PayWayStr {
  162. get
  163. {
  164. return IdNameExt.GetDictionaryItem(DictionaryItem.EX_PayWay.ToString())
  165. .Where(x => x.Value == PayWay)
  166. .Select(x => x.Name).FirstOrDefault();
  167. }
  168. }
  169. [DisplayName("退费经办老师")]
  170. public Nullable<System.Guid> RefundUserID { get; set; }
  171. public string RefundUserName { get; set; }
  172. [DisplayName("退费申请时间")]
  173. public Nullable<System.DateTime> RefundTime { get; set; }
  174. public string RefundTimeStr
  175. {
  176. get
  177. {
  178. return RefundTime == null ? "" :RefundTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
  179. }
  180. }
  181. [DisplayName("退费确认老师")]
  182. public Nullable<System.Guid> RefundConfirmUserID { get; set; }
  183. public string RefundConfirmUserName { get; set; }
  184. [DisplayName("退费确认时间")]
  185. public Nullable<System.DateTime> RefundConfirmTime { get; set; }
  186. public string RefundConfirmTimeStr
  187. {
  188. get
  189. {
  190. return RefundConfirmTime == null ? "" : RefundConfirmTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
  191. }
  192. }
  193. public string WechatOrderID { get; set; }
  194. public string RefundOrderID { get; set; }
  195. }
  196. }