using MediatR;
using TakeoutSaaS.Application.App.Finance.Invoice.Dto;

namespace TakeoutSaaS.Application.App.Finance.Invoice.Commands;

/// <summary>
/// 作废发票命令。
/// </summary>
public sealed class VoidFinanceInvoiceRecordCommand : IRequest<FinanceInvoiceRecordDetailDto>
{
    /// <summary>
    /// 发票记录 ID。
    /// </summary>
    public long RecordId { get; init; }

    /// <summary>
    /// 作废原因。
    /// </summary>
    public string VoidReason { get; init; } = string.Empty;
}
