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

import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.*;

/**
 * Created by SonPhung on Monday, 20-Jul-2026
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CampaignFormulaSixTier {

    @Min(1)
    private int tier;

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

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

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