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

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

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