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;

/**
 * Analytical insights for a targeting campaign.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TargetingInsight {

    @Field("recorded_at")
    private LocalDateTime recordedAt;

    @Field("platform")
    private String platform;

    @Field("metric")
    private String metric;

    @Field("value")
    private Double value;

    @Field("change_percent")
    private Double changePercent;
}
