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

import dev.sonpx.loyalty.mcp.reward.enums.AwardFactorType;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by SonPhung on Thursday, 09-Nov-2023
 */
@Getter
@Setter
public class CampaignFormulaSix extends Fw {

    @NotNull
    private AwardFactorType factorType;

    @NotNull
    private ReferenceData decideTierBase;

    @Valid
    @NotEmpty
    private List<CampaignFormulaSixTier> tiers;
}
