using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using EMIS.ViewModel.CacheManage;
namespace EMIS.ViewModel.StudentManage.InfoCenter
{
public class EditFeildView
{
///
/// 序号
///
[DisplayName("序号")]
public int OrderNo { get; set; }
///
/// 校对代码
///
[DisplayName("校对代码")]
public string ColumnFeild { get; set; }
///
/// 校对列名
///
[DisplayName("校对列名")]
public string ColumnName { get; set; }
///
/// 校对名称
///
[DisplayName("校对名称")]
public string Description { get; set; }
///
/// 是否编辑
///
[DisplayName("是否编辑")]
public bool IsEdit { get; set; }
///
/// TypeName
///
[DisplayName("TypeName")]
public string TypeName { get; set; }
///
/// Value
///
[DisplayName("Value")]
public string Value { get; set; }
///
/// 校对类型
///
[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();
}
}
}
}