class HashChainBreak {
  const HashChainBreak({
    required this.invoiceId,
    this.invoiceNumber,
    required this.issue,
    this.expectedHash,
    this.actualHash,
    this.expectedPreviousHash,
    this.actualPreviousHash,
  });

  final String invoiceId;
  final String? invoiceNumber;
  final String issue;
  final String? expectedHash;
  final String? actualHash;
  final String? expectedPreviousHash;
  final String? actualPreviousHash;
}

class HashChainVerificationResult {
  const HashChainVerificationResult({
    required this.isHealthy,
    required this.checkedCount,
    required this.verifiedAt,
    required this.breaks,
  });

  final bool isHealthy;
  final int checkedCount;
  final DateTime verifiedAt;
  final List<HashChainBreak> breaks;
}
