using CMSMicroservice.Application.Common.Models;

namespace CMSMicroservice.Application.UserCQ.Queries.GetCustomerReferrals;

public class GetCustomerReferralsResponseDto
{
    public MetaData MetaData { get; set; }
    public List<CustomerReferralModel> Referrals { get; set; }
    public CustomerReferralStats Stats { get; set; }
}

public class CustomerReferralModel
{
    public long Id { get; set; }
    public string? FirstName { get; set; }
    public string? LastName { get; set; }
    public string Mobile { get; set; }
    public DateTime JoinDate { get; set; }
    public bool IsActive { get; set; }
    public string StatusMessage { get; set; }
    public int Level { get; set; }
    public long TotalCommission { get; set; }
}

public class CustomerReferralStats
{
    public int TotalReferrals { get; set; }
    public int ActiveReferrals { get; set; }
    public long TotalCommissionEarned { get; set; }
    public long ThisMonthCommission { get; set; }
}
