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 EvaluationNormView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid? NormID { get; set; } ///// ///// 评分编号 ///// //[Required] //[DisplayName("评分编号")] //public string Code { get; set; } /// /// 评分标准 /// [Required] [DisplayName("评分标准")] public string Name { get; set; } /// /// 评分类型 /// [Required] [DisplayName("评分类型")] public int? IntType { get; set; } /// /// 评分类型 /// [DisplayName("评分类型")] public string EvaluationNormType { get; set; } /// /// 满意权重 /// [Required] [DisplayName("满意权重")] [RegularExpression(@"^\d+(\.\d{1})?$", ErrorMessage = "请输入整数或保留1位小数")] public decimal? SatisfyWeight { 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; } } }