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

import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.Positive;
import lombok.Getter;
import lombok.Setter;

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

    @Positive
    @DecimalMax(value = "99999999999999.99")
    private Double awardPerTxnAmt;

    @Positive
    @DecimalMax(value = "99999999999999.99")
    private Double txnAmt;

    @Positive
    @DecimalMax(value = "99999999999999.99")
    private Double awardPerTxnAmtAfter;

    @Positive
    @DecimalMax(value = "99999999999999.99")
    private Double txnAmtAfter;
}
