in src/main/kotlin/com/haulmont/petclinic/owner/Pet.kt [28:31]
fun addVisit(visit: Visit) { visits.add(visit) visit.petId = id }