123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- using EMIS.ViewModel.CacheManage;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.StudentManage.OnlineChecking
- {
- public class CheckingControlView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- [DisplayName("主键ID")]
- public Guid StudentEditControlID { get; set; }
- /// <summary>
- /// 序号
- /// </summary>
- [Required]
- [DisplayName("序号")]
- public int? OrderNo { get; set; }
- /// <summary>
- /// 校对代码
- /// </summary>
- [Required]
- [DisplayName("校对代码")]
- public string ColumnName { get; set; }
- /// <summary>
- /// 校对列名
- /// </summary>
- [Required]
- [DisplayName("校对列名")]
- public string DisplayColumnName { get; set; }
- /// <summary>
- /// 校对名称
- /// </summary>
- [Required]
- [DisplayName("校对名称")]
- public string Description { get; set; }
- /// <summary>
- /// 校对类型
- /// </summary>
- [Required]
- [DisplayName("校对类型")]
- public int? CheckingTypeID { get; set; }
- /// <summary>
- /// 校对类型
- /// </summary>
- [DisplayName("校对类型")]
- public string CheckingTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CheckingType.ToString()).Where(x => x.Value == CheckingTypeID).Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public string CreateUserName { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 修改人
- /// </summary>
- [DisplayName("修改人")]
- public Guid? ModifyUserID { get; set; }
- /// <summary>
- /// 修改人
- /// </summary>
- [DisplayName("修改人")]
- public string ModifyUserName { get; set; }
- /// <summary>
- /// 修改时间
- /// </summary>
- [DisplayName("修改时间")]
- public DateTime? ModifyTime { get; set; }
- }
- }
|