@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_whenComparedToDifferentInstanceWithSameValues_shouldReturnTrue() {
    SnapshotDto snapshotDto1 = create();
    SnapshotDto snapshotDto2 = create();
    assertThat(snapshotDto1.equals(snapshotDto2)).isTrue();
    assertThat(snapshotDto2.equals(snapshotDto1)).isTrue();
  }