123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using EMIS.ViewModel.Cache;
- namespace EMIS.ViewModel.Students
- {
- public class ExaminationApplyView
- {
- /// <summary>
- /// 考试项目
- /// </summary>
- public Guid? ExaminationProjectID { get; set; }
- public string ExaminationProjectName { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public Guid? SchoolYearID { get; set; }
- public string SchoolYearCode { get; set; }
- /// <summary>
- /// 项目级别
- /// </summary>
- public int? ExaminationLevelID { get; set; }
- public string ExaminationLevelName {
- get {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationLevel.ToString())
- .Where(x => x.Value == ExaminationLevelID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 限定通过项目
- /// </summary>
- public Guid? PreposeProjectID { get; set; }
- public string PreposeProjectName { get; set; }
- /// <summary>
- /// 发证机关
- /// </summary>
- public int? IssuedByID { get; set; }
- public string IssuedByName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_Issuer.ToString())
- .Where(x => x.Value == IssuedByID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 需交资料及注意事项(批次项目)
- /// </summary>
- public string Remark { get; set; }
- public string BatchRemark { get; set; }
- /// <summary>
- /// 考试批次
- /// </summary>
- public Guid? ExaminationBatchID { get; set; }
- public string ExaminationBatchName { get; set; }
- /// <summary>
- /// 考试类型ID
- /// </summary>
- [DisplayName("考试类型")]
- public Nullable<System.Guid> ExaminationTypeID { get; set; }
- /// <summary>
- /// 考试类型
- /// </summary>
- [DisplayName("考试类型")]
- public string ExaminationTypeName { get; set; }
- public Guid? ExaminationBatchProjectID { get; set; }
- public DateTime? StartDate { get; set; }
- public DateTime? EndDate { get; set; }
- public DateTime? ExaminationDate { get; set; }
- [DisplayName("培训情况")]
- public string Training { get; set; }
- [DisplayName("预开课时间")]
- public string TakeCourseTime { get; set; }
- /// <summary>
- /// 预考试时间
- /// </summary>
- public string SimulateTime { get; set; }
- /// <summary>
- /// 最大报名人数
- /// </summary>
- public int? MaxRegistCount { get; set; }
- public decimal? Cost { get; set; }
-
- public int RegisterNum { get; set; }
- public int BKCS { get; set; }
- [DisplayName("是否已报考")]
- public bool IsRister { get; set; }
- [DisplayName("是否已报考")]
- public string IsRisterName
- {
- get { return IsRister == true ? "是" : "否"; }
-
- }
- public int? SchoolYearNum { get; set; }
- [DisplayName("项目收费标准")]
- public Guid? ExaminationProjectFeeID { get; set; }
- [DisplayName("项目收费标准")]
- public string ExaminationProjectFeeName { get; set; }
- public string FeeTypeListStr { get; set; }
- }
- public class ExaminationRegisView
- {
- public Guid ExaminationRegistrationID { get; set; }
- /// <summary>
- /// 考试项目
- /// </summary>
- public Guid? ExaminationProjectID { get; set; }
- public string ExaminationProjectName { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public Guid? SchoolYearID { get; set; }
- public string SchoolYearCode { get; set; }
- public DateTime? StartDate { get; set; }
- public DateTime? EndDate { get; set; }
- public DateTime? ExaminationDate { get; set; }
- /// <summary>
- /// 预考试时间
- /// </summary>
- public string SimulateTime { get; set; }
- [DisplayName("证件类型")]
- public int? CertificatesType { get; set; }
- [DisplayName("证件类型")]
- public string CertificatesTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CertificatesType.ToString())
- .Where(x => x.Value == CertificatesType)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("证件号码")]
- public string IDNumber { get; set; }
- [DisplayName("项目收费标准对应收费项ID")]
- public Guid? ExaminationProjectFeeTypeID { get; set; }
- //[DisplayName("项目收费标准对应收费项")]
- //public string ExaminationProjectFeeTypeName { get; set; }
- [DisplayName("项目收费标准")]
- public Guid? ExaminationProjectFeeID { get; set; }
- [DisplayName("项目收费标准")]
- public string ExaminationProjectFeeName { get; set; }
- [DisplayName("收费项")]
- public int? FeeTypeID { get; set; }
- [DisplayName("收费项")]
- public string FeeTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationProjectFeeType.ToString())
- .Where(x => x.Value == FeeTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("费用")]
- public decimal? Fee { get; set; }
- [DisplayName("报名项目(费用)")]
- public string FeeTypeAndFee
- {
- get
- {
- return FeeTypeName + "(" + Fee.ToString() + ")";
- }
- }
- /// <summary>
- /// 需交资料及注意事项(批次项目)
- /// </summary>
- public string Remark { get; set; }
- public string BatchRemark { get; set; }
- [DisplayName("缴费状态")]
- public int? RecordStatus { get; set; }
- [DisplayName("缴费状态")]
- public string RecordStatusStr
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.EX_ExaminationRegistrationStatus.ToString())
- .Where(x => x.Value == RecordStatus)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public Dictionary<string, string> FeeTypeList { get; set; }
- public string FeeTypeListStr { get; set; }
- }
- }
|