12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.CacheManage;
- using System.ComponentModel;
- namespace EMIS.ViewModel.ExaminationApply
- {
- public class ExaminationTypeView
- {
- /// <summary>
- /// 考试类型ID
- /// </summary>
- public System.Guid ExaminationTypeID { 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; }
- }
- }
|