123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- 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
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- [DisplayName("主键ID")]
- public Guid? TableID { get; set; }
- /// <summary>
- /// 编号
- /// </summary>
- [Required]
- [DisplayName("编号")]
- public string Code { get; set; }
- /// <summary>
- /// 评价表名
- /// </summary>
- [Required]
- [DisplayName("评价表名")]
- public string Name { get; set; }
- /// <summary>
- /// 评价类型
- /// </summary>
- [Required]
- [DisplayName("评价类型")]
- public int? IntType { get; set; }
- /// <summary>
- /// 评价类型ID
- /// </summary>
- [Required]
- [DisplayName("评价类型ID")]
- public Guid? EvaluationIntTypeID { get; set; }
- /// <summary>
- /// 评价类型
- /// </summary>
- [DisplayName("评价类型")]
- public string EvaluationIntTypeName { get; set; }
- /// <summary>
- /// 评价类型
- /// </summary>
- [DisplayName("评价类型")]
- public string Type { get; set; }
- /// <summary>
- /// 参评类型
- /// </summary>
- [Required]
- [DisplayName("参评类型")]
- public Guid? TypeID { get; set; }
- /// <summary>
- /// 参评类型
- /// </summary>
- [DisplayName("参评类型")]
- public string EvaluationType { get; set; }
- /// <summary>
- /// 评价权重
- /// </summary>
- [Required]
- //[Range(0, int.MaxValue, ErrorMessage = "评价权重 必须大于等于0")]
- [DisplayName("评价权重")]
- public int? Weight { get; set; }
- /// <summary>
- /// 是否启用
- /// </summary>
- [Required]
- [DisplayName("是否启用")]
- public int? IsEnabled { get; set; }
- /// <summary>
- /// 是否启用
- /// </summary>
- [DisplayName("是否启用")]
- public string IsEnabledName { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string Remark { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 更新人
- /// </summary>
- [DisplayName("更新人")]
- public Guid? ModifyUserID { get; set; }
- /// <summary>
- /// 更新时间
- /// </summary>
- [DisplayName("更新时间")]
- public DateTime? ModifyTime { get; set; }
- }
- }
|