using MediatR;
using TakeoutSaaS.Application.App.Merchants.Dto;
namespace TakeoutSaaS.Application.App.Merchants.Commands;
///
/// 更新商户命令。
///
public sealed record UpdateMerchantCommand : IRequest
{
///
/// 商户 ID。
///
public long MerchantId { get; init; }
///
/// 商户名称。
///
public string? Name { get; init; }
///
/// 营业执照号。
///
public string? LicenseNumber { get; init; }
///
/// 法人或负责人。
///
public string? LegalRepresentative { get; init; }
///
/// 注册地址。
///
public string? RegisteredAddress { get; init; }
///
/// 联系电话。
///
public string? ContactPhone { get; init; }
///
/// 联系邮箱。
///
public string? ContactEmail { get; init; }
///
/// 并发控制版本。
///
public byte[] RowVersion { get; init; } = Array.Empty();
}