package com.cloudhandson.ddsbackoffice.domain;

/** Safe summary returned to the administrator after a fixture run. */
public record DdsValidationRunResult(
    String path,
    int totalCount,
    int passedCount,
    int failedCount,
    String message
) {

  public boolean passed() {
    return totalCount > 0 && failedCount == 0;
  }
}
