123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.Cache;
- namespace EMIS.ViewModel.FeeManage
- {
- public class RefundView
- {
- public System.Guid ExaminationRegistrationID { get; set; }
- /// <summary>
- /// 学生ID
- /// </summary>
- public Nullable<System.Guid> UserID { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string UserName { get; set; }
- [DisplayName("证件号码")]
- public string IDNumber { get; set; }
- [DisplayName("联系电话")]
- public string Mobile { get; set; }
- [DisplayName("年级")]
- public Nullable<int> Year { get; set; }
- /// <summary>
- /// 院系
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
- public Nullable<System.Guid> CollegeID { get; set; }
- public string CollegeName { get; set; }
- /// <summary>
- /// 班级
- /// </summary>
- [DisplayName("班级")]
- public Nullable<System.Guid> ClassmajorID { get; set; }
- public string ClassmajorName { get; set; }
- [DisplayName("考试批次")]
- public Nullable<System.Guid> ExaminationBatchID { get; set; }
- public string ExaminationBatchName { get; set; }
- [DisplayName("考试项目")]
- public Nullable<System.Guid> ExaminationProjectID { get; set; }
- public string ExaminationProjectName { get; set; }
- [DisplayName("报名项目")]
- 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>
- /// 金额
- /// </summary>
- [DisplayName("金额")]
- [DisplayFormat(DataFormatString = "{0:#.00}")]
- public Nullable<decimal> Fee { get; set; }
- [DisplayName("收据号")]
- public string ReceiptNo { get; set; }
- /// <summary>
- /// 开户银行
- /// </summary>
- [DisplayName("开户银行及支行")]
- [MaxLength(50)]
- [Required]
- public string BankName { get; set; }
- /// <summary>
- /// 银行卡号
- /// </summary>
- [DisplayName("银行卡号")]
- [MaxLength(50)]
- [Required]
- public string CardNo { get; set; }
- [DisplayName("退费原因")]
- [Required]
- public string RefundReason { get; set; }
- [DisplayName("经办老师")]
- [Required]
- public Nullable<System.Guid> RefundUserID { get; set; }
- public string RefundUserName { get; set; }
- [DisplayName("申请时间")]
- [Required]
- public Nullable<System.DateTime> RefundTime { get; set; }
- public string RefundTimeStr
- {
- get
- {
- return RefundTime == null ? "" : RefundTime.Value.ToString("yyyy年MM月dd日");
- }
- }
- [DisplayName("确认单号")]
- public string ConfirmNo { get; set; }
- public Guid? SchoolYearID { get; set; }
- [DisplayName("学年学期")]
- public string SchoolYearCode { get; set; }
- [DisplayName("学号")]
- public string StudentNo { get; set; }
- public int? RecordStatus { get; set; }
- }
- }
|