@Override
    public seatClass getMinSeatClass() {
        Ticket.seatClass rez = seatClass.SEAT_CLASS_FIRST;
        for(SingleTicket ticket:this.tickets){
            if (ticket.getSeatClass().equals(seatClass.SEAT_CLASS_BUSINESS)) {
                rez = seatClass.SEAT_CLASS_BUSINESS;
            }
        }
        for(SingleTicket ticket:this.tickets){
            if (ticket.getSeatClass().equals(seatClass.SEAT_CLASS_ECONOMIC)) {
                rez = seatClass.SEAT_CLASS_ECONOMIC;
            }
        }
        return rez;
    }