예제 #1
0
 public Student(typecar type, gearbox gear, string firstName, string lastNAme, DateTime birthDay, string city, string phoneNumber, string id)
 {
     this.Id     = id;
     CarType     = type;
     FirstName   = firstName;
     LastName    = lastNAme;
     BirthDay    = birthDay;
     PhoneNumber = phoneNumber;
     Gear        = gear;
     group       = new List <string>();
 }
예제 #2
0
 public Teacher(string id, string firstName, string lastNAme, Gender gen, DateTime birthDay, address city, string phoneNumber, typecar carSpecialization, gearbox gear, Schedule hours)
 {
     this.Id               = id;
     FirstName             = firstName;
     LastName              = lastNAme;
     BirthDay              = birthDay;
     Adress                = city;
     PhoneNumber           = phoneNumber;
     Gear                  = gear;
     this.Hours            = hours;
     carTypeSpecialization = carSpecialization;
 }
예제 #3
0
 public Teacher(string id, string firstName, string lastNAme, Gender gen, DateTime birthDay, address city, string phoneNumber, typecar carSpecialization, gearbox gear)
 {
     this.Id               = id;
     FirstName             = firstName;
     LastName              = lastNAme;
     BirthDay              = birthDay;
     Adress                = city;
     PhoneNumber           = phoneNumber;
     Hours                 = Hours;
     gender                = gen;
     carTypeSpecialization = carSpecialization;
     Gear  = gear;
     Hours = new Schedule();
     group = new List <string>();
 }
예제 #4
0
 public Student(string id, typecar carType, gearbox gear, string firstName, string lastName, Gender gen, DateTime birthDay, address adress, string schoolName, string teacherName, int hoursLearned, string phoneNumber)
 {
     this.Id      = id;
     CarType      = carType;
     FirstName    = firstName;
     LastName     = lastName;
     BirthDay     = birthDay;
     gender       = gen;
     this.Adress  = adress;
     SchoolName   = schoolName;
     TeacherName  = teacherName;
     HoursLearned = hoursLearned;
     PhoneNumber  = phoneNumber;
     Gear         = gear;
 }
예제 #5
0
 public Teacher(string id, string firstName, string lastName, DateTime birthDay, address adress, string phoneNumber, int maxHoursPerWeek, int maxKMFromHome, Schedule hours, typecar carTypeSpecialization, gearbox gear, int seniorityYears, Gender gender)
 {
     Id                         = id;
     FirstName                  = firstName;
     LastName                   = lastName;
     BirthDay                   = birthDay;
     Adress                     = adress;
     PhoneNumber                = phoneNumber;
     this.maxHoursPerWeek       = maxHoursPerWeek;
     this.maxKMFromHome         = maxKMFromHome;
     Hours                      = hours;
     this.carTypeSpecialization = carTypeSpecialization;
     Gear                       = gear;
     SeniorityYears             = seniorityYears;
     this.gender                = gender;
     Hours                      = new Schedule();
     group                      = new List <string>();
 }