using Baya.Application.Models.Common;
using Baya.Application.Models.Identity;
using Mediator;

namespace Baya.Application.Features.Identity.Commands.UploadCustomerAvatar;

/// <summary>
/// Stores the signed-in customer's profile photo via <c>IObjectStorage</c> and persists the returned URL on
/// the customer profile. The controller reads the multipart file; the command carries the bytes + metadata.
/// </summary>
public record UploadCustomerAvatarCommand(
    byte[] Content,
    string ContentType,
    long Length) : IRequest<OperationResult<AvatarUploadResult>>;
