|
|
|
@ -6,6 +6,10 @@ namespace TeacherExt.Entities
|
|
|
|
|
{
|
|
|
|
|
public class Teacher : EntityBase<Guid>
|
|
|
|
|
{
|
|
|
|
|
public Teacher()
|
|
|
|
|
{
|
|
|
|
|
this.Id = Guid.NewGuid();
|
|
|
|
|
}
|
|
|
|
|
public TeacherInfo Info { get; set; }
|
|
|
|
|
|
|
|
|
|
public TeacherProp Prop { get; set; }
|
|
|
|
@ -25,7 +29,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
public string Sex { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public DateTime Birthday { get; set; }
|
|
|
|
|
public DateTime? Birthday { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string Nation { get; set; }
|
|
|
|
@ -40,13 +44,13 @@ namespace TeacherExt.Entities
|
|
|
|
|
public string IdNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
//[Required]
|
|
|
|
|
public DateTime JobStart { get; set; }
|
|
|
|
|
public DateTime? JobStart { get; set; }
|
|
|
|
|
|
|
|
|
|
//[Required]
|
|
|
|
|
public DateTime TeachDate { get; set; }
|
|
|
|
|
public DateTime? TeachDate { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public DateTime CurrentJobStart { get; set; }
|
|
|
|
|
public DateTime? CurrentJobStart { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool CurrentJobStartChecked { get; set; }
|
|
|
|
|
|
|
|
|
@ -54,7 +58,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
public string Politics { get; set; }
|
|
|
|
|
|
|
|
|
|
//[Required]
|
|
|
|
|
public DateTime JoinPartyDate { get; set; }
|
|
|
|
|
public DateTime? JoinPartyDate { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string MaxTitle { get; set; }
|
|
|
|
@ -62,13 +66,13 @@ namespace TeacherExt.Entities
|
|
|
|
|
public bool MaxTitleChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public DateTime MaxTitleStart { get; set; }
|
|
|
|
|
public DateTime? MaxTitleStart { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool MaxTitleStartChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsJobAsMaxTitle { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime JobAsMaxTitleDate { get; set; }
|
|
|
|
|
public DateTime? JobAsMaxTitleDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool JobAsMaxTitleDateChecked { get; set; }
|
|
|
|
|
|
|
|
|
@ -80,11 +84,11 @@ namespace TeacherExt.Entities
|
|
|
|
|
|
|
|
|
|
public bool NotMaxTitleChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime NotMaxTitleStart { get; set; }
|
|
|
|
|
public DateTime? NotMaxTitleStart { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool NotMaxTitleStartChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime JobAsNotMaxTitleDate { get; set; }
|
|
|
|
|
public DateTime? JobAsNotMaxTitleDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool JobAsNotMaxTitleDateChecked { get; set; }
|
|
|
|
|
|
|
|
|
@ -97,17 +101,15 @@ namespace TeacherExt.Entities
|
|
|
|
|
public bool PostGradeChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public DateTime CurrentPostGradeStart { get; set; }
|
|
|
|
|
public DateTime? CurrentPostGradeStart { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool CurrentPostGradeStartChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string EducationGrade { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool EducationGradeChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public DateTime EducationGradeDate { get; set; }
|
|
|
|
|
public DateTime? EducationGradeDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool EducationGradeDateChecked { get; set; }
|
|
|
|
|
|
|
|
|
@ -124,7 +126,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
public string FullTimeSchoolEducation { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string JobTimeSchoolEducationDate { get; set; }
|
|
|
|
|
public DateTime? JobTimeSchoolEducationDate { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string JobTimeSchoolType { get; set; }
|
|
|
|
@ -139,7 +141,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
public string JobTimeSchoolEducation { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string FullTimeSchoolEducationDate { get; set; }
|
|
|
|
|
public DateTime? FullTimeSchoolEducationDate { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string MaxEducation { get; set; }
|
|
|
|
@ -166,12 +168,10 @@ namespace TeacherExt.Entities
|
|
|
|
|
|
|
|
|
|
public bool MainTeachGradeChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string OtherTeachPeriod { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool OtherTeachPeriodChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public string OtherTeachSubject { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool OtherTeachSubjectChecked { get; set; }
|
|
|
|
@ -184,7 +184,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
|
|
|
|
|
public bool PositionChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime PositionStart { get; set; }
|
|
|
|
|
public DateTime? PositionStart { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool PositionStartChecked { get; set; }
|
|
|
|
|
|
|
|
|
@ -194,7 +194,7 @@ namespace TeacherExt.Entities
|
|
|
|
|
|
|
|
|
|
public bool NotOnPostReasonChecked { get; set; }
|
|
|
|
|
|
|
|
|
|
public DateTime NotOnPostReasonDate { get; set; }
|
|
|
|
|
public DateTime? NotOnPostReasonDate { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool NotOnPostReasonDateChecked { get; set; }
|
|
|
|
|
|
|
|
|
|