12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- 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 EvaluationOpenControlView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- public Guid EvaluationGradeControlID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- [Required]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 学年学期Code
- /// </summary>
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 开始时间
- /// </summary>
- [Required]
- [DisplayName("开始时间")]
- public DateTime? StartTime { get; set; }
- public string StartTimeStr {
- get
- {
- string Time = string.Empty;
- if (StartTime != null)
- Time = StartTime.Value.Year + "/" + StartTime.Value.Month + "/" + StartTime.Value.Day;
- return Time;
- }
- }
- /// <summary>
- /// 结束时间
- /// </summary>
- [Required]
- [DisplayName("结束时间")]
- public DateTime? EndTime { get; set; }
- public string EndTimeStr
- {
- get
- {
- string Time = string.Empty;
- if (StartTime != null)
- Time = EndTime.Value.Year + "/" + EndTime.Value.Month + "/" + EndTime.Value.Day;
- return Time;
- }
- }
- /// <summary>
- /// 可评次数
- /// </summary>
- [Required]
- [DisplayName("可评次数")]
- public int? EvaluationCount { get; set; }
- /// <summary>
- /// 院系所ID
- /// </summary>
- [Required]
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 院系所名称
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeName")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 年级专业
- /// </summary>
- [Required]
- [DisplayName("年级专业")]
- public Guid? GrademajorID { get; set; }
- /// <summary>
- /// 年级专业编号
- /// </summary>
- public string GrademajorCode { get; set; }
- /// <summary>
- /// 年级专业名称
- /// </summary>
- [DisplayName("年级专业名称")]
- public string GrademajorName { get; set; }
- }
- }
|