using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace EMIS.ViewModel.UniversityManage.AdministrativeOrgan { public class CampusView { /// /// 主键ID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusID")] public Guid CampusID { get; set; } /// /// 学校信息ID /// [Required] [DisplayName("学校信息ID")] public Guid? UniversityID { get; set; } /// /// 学校代码 /// [DisplayName("学校代码")] public string UniversityCode { get; set; } /// /// 学校名称 /// [DisplayName("学校名称")] public string UniversityName { get; set; } /// /// 校区代码 /// [Required] [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")] [RegularExpression(@"^[0-9a-zA-Z\s?]+$", ErrorMessage = "请输入数字或英文字母")] public string No { get; set; } /// /// 校区名称 /// [Required] [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")] public string Name { get; set; } /// /// 校区简称 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusSimpleName")] public string SimpleName { get; set; } /// /// 英文名称 /// [DisplayName("英文名称")] public string EnglishName { get; set; } /// /// 总负责人 /// [DisplayName("总负责人")] public Guid? Generalsuper { get; set; } /// /// 总负责人 /// [DisplayName("总负责人")] public string GeneralsuperName { get; set; } /// /// 招生负责人 /// [DisplayName("招生负责人")] public Guid? Recruitstudents { get; set; } /// /// 招生负责人 /// [DisplayName("招生负责人")] public string RecruitstudentsName { get; set; } /// /// 学籍负责人 /// [DisplayName("学籍负责人")] public Guid? Placesuper { get; set; } /// /// 学籍负责人 /// [DisplayName("学籍负责人")] public string PlacesuperName { get; set; } /// /// 教学负责人 /// [DisplayName("教学负责人")] public Guid? Teachingsuper { get; set; } /// /// 教学负责人 /// [DisplayName("教学负责人")] public string TeachingsuperName { get; set; } /// /// 学生负责人 /// [DisplayName("学生负责人")] public Guid? Studentcharge { get; set; } /// /// 学生负责人 /// [DisplayName("学生负责人")] public string StudentchargeName { get; set; } /// /// 邮政编码 /// [DisplayName("邮政编码")] public string ZIPCode { get; set; } /// /// 办公电话 /// [DisplayName("办公电话")] public string Officephone { get; set; } /// /// 传真 /// [DisplayName("传真")] public string FAX { get; set; } /// /// 电子邮箱 /// [DisplayName("电子邮箱")] public string Email { get; set; } /// /// 历史沿革 /// [DisplayName("历史沿革")] public string Evolution { get; set; } /// /// 院系所数 /// [Required] [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeCount")] public int? CollegeCount { get; set; } /// /// 备注 /// [DisplayName("备注")] public string Remark { 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; } } }