protected Set<Visit> getVisitsInternal() {
        if (this.visits == null) {
            this.visits = new HashSet<>();
        }
        return this.visits;
    }
Simple business object representing a pet.

@author Ken Krebs
@author Juergen Hoeller
@author Sam Brannen
src/main/java/org/springframework/samples/petclinic/model/Pet.java