#nullable enable
using Baya.Application.Models.Common;
using Baya.Application.Models.Reviews;
using Mediator;

namespace Baya.Application.Features.Reviews.Commands.AttachReviewTags;

/// <summary>Sets (replaces) the standardized tags on a review the caller owns (or a moderator manages). The
/// resulting set is exactly <see cref="TagCodes"/>; the <c>UNIQUE(review_id, review_tag_master_id)</c> forbids
/// a duplicate tag.</summary>
public record AttachReviewTagsCommand(long ReviewId, IReadOnlyList<string> TagCodes)
    : IRequest<OperationResult<ReviewTagsResult>>;
