using EMIS.ViewModel.CacheManage;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace EMIS.ViewModel.DegreeManage.DegreeSetting
{
public class DegreeOpenControlView
{
///
/// 学位控制主键ID
///
[DisplayName("学位控制主键ID")]
public Guid DegreeOpenControlID { get; set; }
///
/// 毕业学期ID
///
[Required]
[DisplayName("毕业学期ID")]
public Guid? GraduatingSemesterID { get; set; }
///
/// 学年学期Value
///
[DisplayName("学年学期Value")]
public int? GraduatingSemesterValue { get; set; }
///
/// 毕业学期
///
[DisplayName("毕业学期")]
public string GraduatingSemesterCode { get; set; }
///
/// 学位批次
///
[Required]
[DisplayName("学位批次")]
public int? DegreeBatchID { get; set; }
///
/// 学位批次
///
[DisplayName("学位批次")]
public string DegreeBatchName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.ER_DegreeBatch.ToString()).Where(x => x.Value == DegreeBatchID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 开始时间
///
[Required]
[DisplayName("开始时间")]
public DateTime? StartDate { get; set; }
///
/// 结束时间
///
[Required]
[DisplayName("结束时间")]
public DateTime? EndDate { get; set; }
///
/// 状态
///
[DisplayName("状态")]
public int? RecordStatus { 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; }
}
}