@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    SnapshotDto that = (SnapshotDto) o;
    return Objects.equals(uuid, that.uuid) &&
      Objects.equals(rootComponentUuid, that.rootComponentUuid) &&
      Objects.equals(createdAt, that.createdAt) &&
      Objects.equals(analysisDate, that.analysisDate) &&
      Objects.equals(status, that.status) &&
      Objects.equals(last, that.last) &&
      Objects.equals(projectVersion, that.projectVersion) &&
      Objects.equals(buildString, that.buildString) &&
      Objects.equals(periodMode, that.periodMode) &&
      Objects.equals(periodParam, that.periodParam) &&
      Objects.equals(periodDate, that.periodDate);
  }
@Test
  void equals_whenComparedToDifferentClass_shouldReturnFalse() {
    SnapshotDto snapshotDto = create();
    Object differentObject = new Object();
    assertThat(snapshotDto.equals(differentObject)).isFalse();
  }