private static Ticket.seatClass toSeatClass(Long Val) {
        switch (Val.intValue())
        {
            case 1: return Ticket.seatClass.SEAT_CLASS_ECONOMIC;
            case 2: return Ticket.seatClass.SEAT_CLASS_BUSINESS;
            case 3: return Ticket.seatClass.SEAT_CLASS_FIRST;
            default: return Ticket.seatClass.SEAT_CLASS_ECONOMIC;
        }
    }