using ColaFlow.Modules.Identity.Application.Dtos;
using MediatR;

namespace ColaFlow.Modules.Identity.Application.Commands.RegisterTenant;

public record RegisterTenantCommand(
    string TenantName,
    string TenantSlug,
    string SubscriptionPlan,
    string AdminEmail,
    string AdminPassword,
    string AdminFullName
) : IRequest<RegisterTenantResult>;

public record RegisterTenantResult(
    TenantDto Tenant,
    UserDto AdminUser,
    string AccessToken,
    string RefreshToken
);
