123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.GraduationManage.GraduationSetting
- {
- public class GraduationSchoolYearView
- {
- ///<summary>
- ///主键ID
- ///</summary>
- [DisplayName("主键ID")]
- public Guid GraduationSchoolYearSettingID { get; set; }
-
- /// <summary>
- /// 毕业学期ID
- /// </summary>
- [Required]
- [DisplayName("毕业学期ID")]
- public Guid? GraduatingSemesterID { get; set; }
- /// <summary>
- /// 毕业学期
- /// </summary>
- [DisplayName("毕业学期")]
- public string GraduatingSemesterCode { get; set; }
- /// <summary>
- /// 学年
- /// </summary>
- [DisplayName("学年")]
- public int? Years { get; set; }
- /// <summary>
- /// 学期
- /// </summary>
- [DisplayName("学期")]
- public int? SchoolcodeID { get; set; }
- /// <summary>
- /// 学期
- /// </summary>
- [DisplayName("学期")]
- public string SchoolcodeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Semester.ToString()).Where(x => x.Value == SchoolcodeID).Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 周数
- /// </summary>
- [DisplayName("周数")]
- public int? WeeksNum { get; set; }
- /// <summary>
- /// 每周工作天数
- /// </summary>
- [DisplayName("每周工作天数")]
- public int? WeekDays { get; set; }
- ///<summary>
- ///毕业日期
- ///</summary>
- [Required]
- [DisplayName("毕业日期")]
- public DateTime? GraduateDate { get; set; }
- /// <summary>
- /// 是否当前学期
- /// </summary>
- [DisplayName("是否当前学期")]
- public bool IsCurrent { get; set; }
- /// <summary>
- /// 是否当前学期
- /// </summary>
- [DisplayName("是否当前学期")]
- public string IsCurrentName { get; set; }
-
- /// <summary>
- /// 启用状态
- /// </summary>
- [DisplayName("启用状态")]
- public bool IsEnable { get; set; }
- /// <summary>
- /// 启用状态
- /// </summary>
- [DisplayName("启用状态")]
- public string IsEnableName { get; set; }
- /// <summary>
- /// 毕业学期Value
- /// </summary>
- [DisplayName("Value")]
- public int? GraduatingSemesterValue { get; set; }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { 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; }
- }
- }
|