// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

part of '../../application_management.dart';

/// Result for notice acknowledgement commands.
class NoticeAcknowledgementResult {
  /// Creates a `NoticeAcknowledgementResult` instance with the values required by its invariants.
  /// Callers should pass already-normalized scheduler data because validation and defaulting belong at the model or service boundary, not in arbitrary UI code.
  const NoticeAcknowledgementResult({
    required this.record,
    required this.alreadyAcknowledged,
  });

  /// Persisted acknowledgement record.
  final NoticeAcknowledgementRecord record;

  /// Whether the notice had already been acknowledged before this command.
  final bool alreadyAcknowledged;
}
