Revert "ticket and ticket_class model"

This reverts commit a8b0322b82176e0f4ed15a9a5e326f1b8d4e7716.