private static Long seatClassToLong(Ticket.seatClass sc) {
        if (sc == Ticket.seatClass.SEAT_CLASS_ECONOMIC) return 1L;
        else if (sc == Ticket.seatClass.SEAT_CLASS_BUSINESS) return 2L;
        else if (sc == Ticket.seatClass.SEAT_CLASS_FIRST) return 3L;
        else return 1L;
    }