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