示例#1
0
 public StudentTicket(ScheduleItem scheduleItem, Seat seat, double discount) : base(scheduleItem, seat)
 {
     this.Discount = discount;
     this.Price    = CalcPrice();
 }
示例#2
0
 public Ticket(ScheduleItem scheduleItem, Seat seat)
 {
     this.ScheduleItem = scheduleItem;
     this.Seat         = seat;
     this.Price        = CalcPrice();
 }