123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.Cache;
- using System.ComponentModel;
- namespace EMIS.ViewModel.FeeManage
- {
- public class StudentFeeView
- {
- public System.Guid ExaminationRegistrationID { get; set; }
- public Nullable<System.Guid> ExaminationBatchProjectID { get; set; }
- public Nullable<System.Guid> ExaminationProjectID { get; set; }
- public System.Guid? ExaminationRegistrationConfirmID { get; set; }
- /// <summary>
- /// 确认单号
- /// </summary>
- public string No { get; set; }
- /// <summary>
- /// 收据号
- /// </summary>
- public string ReceiptNo { get; set; }
- /// <summary>
- /// 项目名称
- /// </summary>
- public string ExaminationProjectName { get; set; }
- /// <summary>
- /// 考试批次
- /// </summary>
- public string ExaminationBatchName { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public Nullable<System.Guid> SchoolyearID { get; set; }
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 报名项目
- /// </summary>
- public Nullable<System.Guid> ExaminationProjectFeeTypeID { get; set; }
- public Nullable<int> FeeTypeID { get; set; }
- public string FeeTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
- .Where(x => x.Value == FeeTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学生ID
- /// </summary>
- public Nullable<System.Guid> UserID { get; set; }
- /// <summary>
- /// 院系
- /// </summary>
- public Nullable<System.Guid> CollegeID { get; set; }
- /// <summary>
- /// 校区
- /// </summary>
- public int? SchoolAreaID { get; set; }
- public string SchoolAreaName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolArea.ToString())
- .Where(x => x.Value == SchoolAreaID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 班级
- /// </summary>
- public Nullable<System.Guid> ClassmajorID { get; set; }
- public string ClassmajorName { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- public string LoginID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- public string StudentNo { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- public string UserName { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- public Nullable<int> Sex { get; set; }
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == Sex)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 证件类型
- /// </summary>
- public Nullable<int> CertificatesType { get; set; }
- public string CertificatesTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
- .Where(x => x.Value == CertificatesType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("考试类型")]
- public Guid? ExaminationTypeID { get; set; }
- [DisplayName("考试类型")]
- public string ExaminationTypeName { get; set; }
- public string IDNumber { get; set; }
- /// <summary>
- /// 联系电话
- /// </summary>
- public string PhoneNumber { get; set; }
- /// <summary>
- /// 金额
- /// </summary>
- public Nullable<decimal> Fee { get; set; }
- /// <summary>
- /// Remark
- /// </summary>
- public string Remark { get; set; }
- /// <summary>
- /// 缴费状态
- /// </summary>
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationRegistrationStatus.ToString())
- .Where(x => x.Value == RecordStatus)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 收费时间
- /// </summary>
- public Nullable<System.DateTime> PayTime { get; set; }
- /// <summary>
- /// 开户银行
- /// </summary>
- [DisplayName("开户银行及支行")]
- public string BankName { get; set; }
- /// <summary>
- /// 银行卡号
- /// </summary>
- [DisplayName("银行卡号")]
- public string CardNo { get; set; }
- [DisplayName("缴费方式")]
- public int? PayWay { get; set; }
- [DisplayName("缴费方式")]
- public string PayWayStr {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_PayWay.ToString())
- .Where(x => x.Value == PayWay)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("退费经办老师")]
- public Nullable<System.Guid> RefundUserID { get; set; }
- public string RefundUserName { get; set; }
- [DisplayName("退费申请时间")]
- public Nullable<System.DateTime> RefundTime { get; set; }
- public string RefundTimeStr
- {
- get
- {
- return RefundTime == null ? "" :RefundTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
- }
- }
- [DisplayName("退费确认老师")]
- public Nullable<System.Guid> RefundConfirmUserID { get; set; }
- public string RefundConfirmUserName { get; set; }
- [DisplayName("退费确认时间")]
- public Nullable<System.DateTime> RefundConfirmTime { get; set; }
- public string RefundConfirmTimeStr
- {
- get
- {
- return RefundConfirmTime == null ? "" : RefundConfirmTime.Value.ToString("yyyy-MM-dd HH:mm:ss");
- }
- }
- public string WechatOrderID { get; set; }
- public string RefundOrderID { get; set; }
- }
- }
|