add generated case model