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.EvaluationManage.EvaluationSetting
{
public class EvaluationSensitiveWordView
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid EvaluationSensitiveWordID { get; set; }
///
/// 参数类型
///
[Required]
[DisplayName("参数类型")]
public int? ParameterTypeID { get; set; }
///
/// 参数类型
///
[DisplayName("参数类型")]
public string ParameterTypeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ParameterType.ToString()).Where(x => x.Value == ParameterTypeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 敏感词
///
[DisplayName("敏感词")]
public string Value { get; set; }
///
/// 状态
///
[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; }
}
}