123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.Cache;
- using System.ComponentModel;
- namespace EMIS.ViewModel.ExaminationApply
- {
- public class ExaminationTypeView
- {
- /// <summary>
- /// 考试类型ID
- /// </summary>
- public System.Guid ExaminationTypeID { get; set; }
- public System.Guid ExaminationBatchID { get; set; }
- /// <summary>
- /// 考试类型
- /// </summary>
- [Required]
- [DisplayName("考试类型")]
- public string Name { get; set; }
- /// <summary>
- /// 是否要求次数限定
- /// </summary>
- [DisplayName("是否要求次数限定")]
- public bool IsTimesLimit { get; set; }
- public string IsTimesLimitDesc
- {
- get
- {
- return IsTimesLimit ? "是" : "否";
- }
- }
- /// <summary>
- /// 状态
- /// </summary>
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.SYS_STATUS.ToString())
- .Where(x => x.Value == RecordStatus)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 创建时间
- /// </summary>
- public Nullable<System.DateTime> CreateTime { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- public Nullable<System.Guid> CreateUserID { get; set; }
- /// <summary>
- /// 修改人
- /// </summary>
- public Nullable<System.Guid> ModifyUserID { get; set; }
- /// <summary>
- /// 修改时间
- /// </summary>
- public Nullable<System.DateTime> ModifyTime { get; set; }
- }
- }
|