using CMSMicroservice.Application.Common.Models;
using CMSMicroservice.Domain.Enums;

namespace CMSMicroservice.Application.CommissionCQ.Queries.GetMyCommissionPayouts;

public class GetMyCommissionPayoutsResponseDto
{
    public MetaData? MetaData { get; set; }
    public List<GetMyCommissionPayoutsResponseModel> Models { get; set; } = new();
}

public class GetMyCommissionPayoutsResponseModel
{
    public long Id { get; set; }
    public long WeekDefinitionId { get; set; }
    public string WeekDisplayName { get; set; } = string.Empty;
    public int BalancesEarned { get; set; }
    public long TotalAmount { get; set; }
    public string AmountFormatted { get; set; } = string.Empty;
    public CommissionPayoutStatus Status { get; set; }
    public DateTime? CalculatedDate { get; set; }
    public string DatePersian { get; set; } = string.Empty;
    
    // Package info
    public long PackageId { get; set; }
    public string PackageTitle { get; set; } = string.Empty;
}
