using MediatR;
using System.Text.Json.Serialization;
using TakeoutSaaS.Shared.Abstractions.Serialization;

namespace TakeoutSaaS.Application.App.Stores.Commands;

/// <summary>
/// 租户端删除门店命令。
/// </summary>
public sealed record DeleteStoreCommand : IRequest
{
    /// <summary>
    /// 门店 ID。
    /// </summary>
    [JsonConverter(typeof(SnowflakeIdJsonConverter))]
    public long Id { get; init; }
}

