
package dev.sonpx.loyalty.mcp.reward.model;

import dev.sonpx.loyalty.mcp.model.AttributeData;
import dev.sonpx.loyalty.mcp.reward.enums.AwardFactorType;
import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * F10
 */
@Getter
@Setter
public class CampaignFormulaTen extends Fw {

    @NotNull
    private AttributeData attributeId;

    private String attributeType;

    private String operator;

    private String attributeValue;

    private String attributeValueAnd;

    @NotNull
    private AwardFactorType factorType;

    @NotNull
    @Min(0)
    @DecimalMax(value = "99999999999999.99")
    private Double factorValue;
}
