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

import jakarta.validation.constraints.DecimalMax;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

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

    private ReferenceData chainId;

    private ReferenceData corporationId;

    private ReferenceData storeId;

    @NotNull
    @DecimalMax("100.00")
    @DecimalMin("0.01")
    private Double contributorPercent;

    private Boolean absorbRemainder;
}
