using Infrastructure.Domain; using System; using System.ComponentModel.DataAnnotations; namespace TeacherExt.Entities { public class Teacher : EntityBase { public Teacher() { this.Id = Guid.NewGuid(); } public TeacherInfo Info { get; set; } public TeacherProp Prop { get; set; } [Required] public string CheckStatus { get; set; } [Required] public string Organ { get; set; } public string UserType { get; set; } [Required] public string RealName { get; set; } [Required] public string Sex { get; set; } [Required] public DateTime? Birthday { get; set; } [Required] public string Nation { get; set; } [Required] public string NativePlace { get; set; } //[Required] public string PhoneNumber { get; set; } //[Required] public string IdNumber { get; set; } //[Required] public DateTime? JobStart { get; set; } //[Required] public DateTime? TeachDate { get; set; } [Required] public DateTime? CurrentJobStart { get; set; } public bool CurrentJobStartChecked { get; set; } //[Required] public string Politics { get; set; } //[Required] public DateTime? JoinPartyDate { get; set; } [Required] public string MaxTitle { get; set; } public bool MaxTitleChecked { get; set; } [Required] public DateTime? MaxTitleStart { get; set; } public bool MaxTitleStartChecked { get; set; } public bool IsJobAsMaxTitle { get; set; } public DateTime? JobAsMaxTitleDate { get; set; } public bool JobAsMaxTitleDateChecked { get; set; } public string JobAsNotMaxTitle { get; set; } public bool JobAsNotMaxTitleChecked { get; set; } public string NotMaxTitle { get; set; } public bool NotMaxTitleChecked { get; set; } public DateTime? NotMaxTitleStart { get; set; } public bool NotMaxTitleStartChecked { get; set; } public DateTime? JobAsNotMaxTitleDate { get; set; } public bool JobAsNotMaxTitleDateChecked { get; set; } //[Required] public string PostType { get; set; } [Required] public string PostGrade { get; set; } public bool PostGradeChecked { get; set; } [Required] public DateTime? CurrentPostGradeStart { get; set; } public bool CurrentPostGradeStartChecked { get; set; } public string EducationGrade { get; set; } public bool EducationGradeChecked { get; set; } public DateTime? EducationGradeDate { get; set; } public bool EducationGradeDateChecked { get; set; } [Required] public string FullTimeSchoolType { get; set; } [Required] public string FullTimeSchool { get; set; } [Required] public string FullTimeSchoolMajor { get; set; } [Required] public string FullTimeSchoolEducation { get; set; } [Required] public DateTime? JobTimeSchoolEducationDate { get; set; } [Required] public string JobTimeSchoolType { get; set; } [Required] public string JobTimeSchool { get; set; } [Required] public string JobTimeSchoolMajor { get; set; } [Required] public string JobTimeSchoolEducation { get; set; } [Required] public DateTime? FullTimeSchoolEducationDate { get; set; } [Required] public string MaxEducation { get; set; } [Required] public string MaxDegree { get; set; } public bool IsClassTeacher { get; set; } public bool IsClassTeacherChecked { get; set; } [Required] public string MainTeachPeriod { get; set; } public bool MainTeachPeriodChecked { get; set; } [Required] public string MainTeachSubject { get; set; } public bool MainTeachSubjectChecked { get; set; } [Required] public string MainTeachGrade { get; set; } public bool MainTeachGradeChecked { get; set; } public string OtherTeachPeriod { get; set; } public bool OtherTeachPeriodChecked { get; set; } public string OtherTeachSubject { get; set; } public bool OtherTeachSubjectChecked { get; set; } public bool HasPosition { get; set; } public bool IsMiddleLevel { get; set; } public string Position { get; set; } public bool PositionChecked { get; set; } public DateTime? PositionStart { get; set; } public bool PositionStartChecked { get; set; } public string FrontTeacher { get; set; } public string NotOnPostReason { get; set; } public bool NotOnPostReasonChecked { get; set; } public DateTime? NotOnPostReasonDate { get; set; } public bool NotOnPostReasonDateChecked { get; set; } public string TeacherCardType { get; set; } public string TeacherCardSubject { get; set; } public string TeacherCardLangLevel { get; set; } public string CurrentAddressArea { get; set; } public string CurrentAddressStreat { get; set; } public string Comment { get; set; } } }