using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;
namespace EMIS.ViewModel.EvaluationManage
{
public class EvaluationTableView
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid? TableID { get; set; }
///
/// 编号
///
[Required]
[DisplayName("编号")]
public string Code { get; set; }
///
/// 评价表名
///
[Required]
[DisplayName("评价表名")]
public string Name { get; set; }
///
/// 评价类型
///
[Required]
[DisplayName("评价类型")]
public int? IntType { get; set; }
///
/// 评价类型ID
///
[Required]
[DisplayName("评价类型ID")]
public Guid? EvaluationIntTypeID { get; set; }
///
/// 评价类型
///
[DisplayName("评价类型")]
public string EvaluationIntTypeName { get; set; }
///
/// 评价类型
///
[DisplayName("评价类型")]
public string Type { get; set; }
///
/// 参评类型
///
[Required]
[DisplayName("参评类型")]
public Guid? TypeID { get; set; }
///
/// 参评类型
///
[DisplayName("参评类型")]
public string EvaluationType { get; set; }
///
/// 评价权重
///
[Required]
//[Range(0, int.MaxValue, ErrorMessage = "评价权重 必须大于等于0")]
[DisplayName("评价权重")]
public int? Weight { get; set; }
///
/// 是否启用
///
[Required]
[DisplayName("是否启用")]
public int? IsEnabled { get; set; }
///
/// 是否启用
///
[DisplayName("是否启用")]
public string IsEnabledName { get; set; }
///
/// 备注
///
[DisplayName("备注")]
public string Remark { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 更新人
///
[DisplayName("更新人")]
public Guid? ModifyUserID { get; set; }
///
/// 更新时间
///
[DisplayName("更新时间")]
public DateTime? ModifyTime { get; set; }
}
}