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 EvaluationNormDetailView { /// /// 主键ID /// [DisplayName("主键ID")] public Guid? DetailID { get; set; } /// /// 评价标准 /// [DisplayName("评价标准")] public Guid? NormID { get; set; } /// /// 次序 /// [Required] [DisplayName("次序")] public int? OrderID { get; set; } /// /// 明细ID /// [DisplayName("明细ID")] public Guid? ProjectID { get; set; } /// /// 名称 /// [Required] [DisplayName("名称")] public string Name { get; set; } /// /// 权重 /// [DisplayName("权重")] [Required] //[RegularExpression(@"^[1-9]d*$", ErrorMessage = "必须填写正整数")] public decimal? Weight { 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; } } }