public boolean equals()

in src/main/java/com/example/swaggercodegenexample/dtos/VisitWithPetDto.java [30:40]


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