using MediatR;

namespace SocialService.API.Application.Commands;

/// <summary>
/// EN: Command to follow another user.
/// VI: Command để theo dõi user khác.
/// </summary>
/// <param name="FollowerId">EN: ID of user following / VI: ID user theo dõi</param>
/// <param name="FolloweeId">EN: ID of user being followed / VI: ID user được theo dõi</param>
public record FollowUserCommand(Guid FollowerId, Guid FolloweeId) : IRequest<FollowUserResult>;

/// <summary>
/// EN: Result of follow user command.
/// VI: Kết quả của command theo dõi user.
/// </summary>
public record FollowUserResult(Guid RelationshipId, bool Success);
