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





import dev.sonpx.loyalty.mcp.enums.EntityLevel;
import dev.sonpx.loyalty.mcp.reward.enums.MerchantEntityLevel;
import dev.sonpx.loyalty.mcp.reward.enums.VelocityPeriod;
import dev.sonpx.loyalty.mcp.reward.enums.VelocityTransactionType;
import dev.sonpx.loyalty.mcp.reward.enums.VelocityUnit;
import jakarta.validation.constraints.Digits;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * PhuDao created on 16/10/2023
 */
@Getter
@Setter
public class VelocityControl extends Fw {

    private Long poolRecordNo;

    private String poolId;

    @NotNull
    @Digits(integer = 10, fraction = 2)
    private BigDecimal maximum;

    private VelocityTransactionType txnType;

    private VelocityUnit units;

    private EntityLevel perEntity1;

    private MerchantEntityLevel perEntity2;

    private VelocityPeriod perPeriod;

    private String alertGroup; // lookup data - pending

    private String alertTemplate; // lookup data - pending
}
