123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- 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
- {
- /// <summary>
- /// 序号
- /// </summary>
- [DisplayName("序号")]
- public int OrderNo { get; set; }
- /// <summary>
- /// 校对代码
- /// </summary>
- [DisplayName("校对代码")]
- public string ColumnFeild { get; set; }
- /// <summary>
- /// 校对列名
- /// </summary>
- [DisplayName("校对列名")]
- public string ColumnName { get; set; }
- /// <summary>
- /// 校对名称
- /// </summary>
- [DisplayName("校对名称")]
- public string Description { get; set; }
- /// <summary>
- /// 是否编辑
- /// </summary>
- [DisplayName("是否编辑")]
- public bool IsEdit { get; set; }
- /// <summary>
- /// TypeName
- /// </summary>
- [DisplayName("TypeName")]
- public string TypeName { get; set; }
- /// <summary>
- /// Value
- /// </summary>
- [DisplayName("Value")]
- public string Value { get; set; }
- /// <summary>
- /// 校对类型
- /// </summary>
- [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();
- }
- }
- }
- }
|