using MediatR;

namespace IamService.API.Application.Commands.UserProfiles;

/// <summary>
/// EN: Command to set a profile attribute.
/// VI: Command để đặt profile attribute.
/// </summary>
public record SetProfileAttributeCommand(
    Guid UserId,
    string Key,
    string Value,
    string ValueType = "String") : IRequest<SetProfileAttributeCommandResult>;

/// <summary>
/// EN: Result of SetProfileAttributeCommand.
/// VI: Kết quả của SetProfileAttributeCommand.
/// </summary>
public record SetProfileAttributeCommandResult(
    Guid ProfileId,
    string Key,
    string Value,
    string ValueType);
