using MediatR;
using System.ComponentModel.DataAnnotations;
using TakeoutSaaS.Application.App.Merchants.Dto;

namespace TakeoutSaaS.Application.App.Merchants.Commands;

/// <summary>
/// 审核商户证照。
/// </summary>
public sealed record ReviewMerchantDocumentCommand(
    [property: Required] long MerchantId,
    [property: Required] long DocumentId,
    bool Approve,
    string? Remarks) : IRequest<MerchantDocumentDto>;
