Create repository, servie and serviceimpl for casedetails