public Ticket(ScheduleItem scheduleItem, Seat seat) { this.ScheduleItem = scheduleItem; this.Seat = seat; }
public StudentTicket(ScheduleItem scheduleItem, Seat seat, int discount) : base(scheduleItem, seat) { this.Discount = discount; }
public FreeTicket(ScheduleItem scheduleItem, Seat seat, string customerName) : base(scheduleItem, seat) { this.CustomerName = customerName; }