using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace EMIS.ViewModel.EvaluationManage { public class EvaluationTargetView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid? TargetID { get; set; } /// /// 指标编号 /// //[Required] [DisplayName("指标编号")] public string Code { get; set; } /// /// 指标名称 /// [Required] [DisplayName("指标名称")] public string Name { get; set; } /// /// 次序 /// [Required] [DisplayName("次序")] public int? OrderID { get; set; } /// /// 指标权重 /// [Required] //[Range(0, int.MaxValue, ErrorMessage = "指标权重 必须大于等于0")] [DisplayName("指标权重")] public decimal? Weight { get; set; } /// /// 评分标准 /// [Required] [DisplayName("评分标准")] public Guid? NormID { get; set; } /// /// 评分标准 /// [DisplayName("评分标准")] public string NormName { get; set; } /// /// 评价表名 /// [DisplayName("评价表名")] [Required] public Guid? TableID { get; set; } /// /// 评价表名 /// [DisplayName("评价表名")] public string TableName { get; set; } /// /// 评价表编号 /// [DisplayName("评价表编号")] public string TableCode { 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; } } }