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.util.List;

/**
 * A/B testing configuration for a targeting campaign.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ABTestConfig {

    @Field("is_enabled")
    private boolean isEnabled;

    @Field("variants")
    private List<String> variants;

    @Field("winner_variant_id")
    private String winnerVariantId;
}
