package kz.konturai.parser.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * Budget configuration for a targeting campaign.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BudgetConfig {

    @Field("total_budget")
    private Double totalBudget;

    @Field("daily_budget")
    private Double dailyBudget;

    @Field("currency")
    @Builder.Default
    private String currency = "KZT";

    @Field("start_date")
    private LocalDateTime startDate;

    @Field("end_date")
    private LocalDateTime endDate;
}
