public boolean equals()

in src/main/java/com/example/swaggercodegenexample/dtos/VisitWithPetDto.java [75:85]


        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            PetDto entity = (PetDto) o;
            return Objects.equals(this.id, entity.id) && Objects.equals(this.userId, entity.userId) && Objects.equals(
                    this.name, entity.name);
        }