public Pilot(PilotProfile profile, DateTime educationTime, PilotRating rating) { this.Profile = profile; this.EducationTime = educationTime; this.Rating = rating; this.Aircrafts = new List <string>(); }
public Instructor(PilotProfile profile, PilotRating rating) { this.Profile = profile; this.Rating = rating; this.Students = new List <PilotStudent>(); }
//adds a rating to the list public static void AddRating(PilotRating rating) { ratings.Add(rating); }
public PilotStudent(PilotProfile profile, DateTime startDate, Instructor instructor, PilotRating rating, string airlinerfamily) { this.Rating = rating; this.Profile = profile; this.StartDate = startDate; this.EndDate = this.StartDate.AddDays(this.Rating.TrainingDays); this.Instructor = instructor; this.AirlinerFamily = airlinerfamily; }
public Pilot(PilotProfile profile, DateTime educationTime, PilotRating rating) { this.Profile = profile; this.EducationTime = educationTime; this.Rating = rating; }