package com.honey.honey.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskDto {
    private Integer id;
    private String type; // referral, follow, other
    private Long requirement; // For referral tasks: number of friends. For other tasks: deposit_total threshold in bigint (frontend converts)
    private Long rewardAmount; // bigint format
    private String rewardType; // Tickets (all tasks use Tickets as reward type)
    private String title;
    private String description;
    private Integer displayOrder;
    private Boolean claimed; // Whether user has claimed this task
    private String progress; // Progress string like "1008 / 30" or "CLAIMED" (for referral) or null (for follow/other - frontend handles)
    private Long currentValue; // Current value in bigint format (referals1 for referral, depositTotal for other). Frontend converts for display.
    private String localizedRewardText; // Localized reward text like "+2 Билеты" or "+5 Билетов" (for proper grammar)
}

