using MediatR;

namespace IamService.API.Application.Commands.Organizations;

/// <summary>
/// EN: Command to update an organization.
/// VI: Command để cập nhật tổ chức.
/// </summary>
public record UpdateOrganizationCommand(
    Guid Id,
    string Name,
    string? Description) : IRequest<UpdateOrganizationCommandResult>;

/// <summary>
/// EN: Result of UpdateOrganizationCommand.
/// VI: Kết quả của UpdateOrganizationCommand.
/// </summary>
public record UpdateOrganizationCommandResult(
    Guid Id,
    string Name,
    string? Description,
    DateTime? UpdatedAt);
