ticket and ticket_class model