123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- namespace EMIS.ViewModel.CalendarManage
- {
- public class DutyView
- {
- /// <summary>
- /// 主键ID
- /// </summary>
- [DisplayName("主键ID")]
- public Guid? DutyID { get; set; }
- /// <summary>
- /// 工作证号
- /// </summary>
- [Required]
- [DisplayName("工作证号")]
- public string LoginID { get; set; }
- /// <summary>
- /// 值班人名
- /// </summary>
- [Required]
- [DisplayName("值班人名")]
- public Guid? UserID { get; set; }
- /// <summary>
- /// 值班人名
- /// </summary>
- [DisplayName("值班人名")]
- public string UserName { get; set; }
- /// <summary>
- /// 时间节段
- /// </summary>
- [Required]
- [DisplayName("时间节段")]
- public int? TimesSegment { get; set; }
- /// <summary>
- /// 时间节段
- /// </summary>
- [DisplayName("时间节段")]
- public string TimesSegmentName { get; set; }
- /// <summary>
- /// 值班日期
- /// </summary>
- [DisplayName("值班日期")]
- [Required]
- public DateTime? DutyTime { get; set; }
- /// <summary>
- /// 开始时间
- /// </summary>
- [DisplayName("开始时间")]
- public string StartDate { get; set; }
- /// <summary>
- /// 开始时间
- /// </summary>
- [Required]
- [DisplayName("开始时间")]
- public int? StartHour { get; set; }
- /// <summary>
- /// 开始时间
- /// </summary>
- [Required]
- [DisplayName("开始时间")]
- public int? StartMinutes { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- [DisplayName("结束时间")]
- public string EndDate { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- [Required]
- [DisplayName("结束时间")]
- public int? EndHour { get; set; }
- /// <summary>
- /// 结束时间
- /// </summary>
- [Required]
- [DisplayName("结束时间")]
- public int? EndMinutes { get; set; }
- /// <summary>
- /// 任务描述
- /// </summary>
- [DisplayName("任务描述")]
- public string Description { get; set; }
- /// <summary>
- /// 校区
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
- public Guid? CampusID { get; set; }
- /// <summary>
- /// 学院
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 负责部门/科室ID
- /// </summary>
- [Required]
- [DisplayName("教研室ID")]
- public Guid? DepartmentID { get; set; }
- /// <summary>
- /// 负责部门/科室
- /// </summary>
- [DisplayName("教研室")]
- public string DepartmentName { 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; }
- }
- }
|