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

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;

/**
 * F11
 */
@Getter
@Setter
public class CampaignFormulaEleven extends Fw {

    @NotNull
    private ReferenceData segmentId;

    private String operator;

    @NotNull
    private AwardFactorType factorType;

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