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
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid StudentEditControlID { get; set; }
///
/// 序号
///
[Required]
[DisplayName("序号")]
public int? OrderNo { get; set; }
///
/// 校对代码
///
[Required]
[DisplayName("校对代码")]
public string ColumnName { get; set; }
///
/// 校对列名
///
[Required]
[DisplayName("校对列名")]
public string DisplayColumnName { get; set; }
///
/// 校对名称
///
[Required]
[DisplayName("校对名称")]
public string Description { get; set; }
///
/// 校对类型
///
[Required]
[DisplayName("校对类型")]
public int? CheckingTypeID { get; set; }
///
/// 校对类型
///
[DisplayName("校对类型")]
public string CheckingTypeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CheckingType.ToString()).Where(x => x.Value == CheckingTypeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 状态
///
[DisplayName("状态")]
public int? RecordStatus { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public string CreateUserName { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 修改人
///
[DisplayName("修改人")]
public Guid? ModifyUserID { get; set; }
///
/// 修改人
///
[DisplayName("修改人")]
public string ModifyUserName { get; set; }
///
/// 修改时间
///
[DisplayName("修改时间")]
public DateTime? ModifyTime { get; set; }
}
}