package com.crm.rely.backend.core.entity.risk.leverage.group.rule;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class RiskLeverageGroupRuleSaveEntity extends BaseAddEntity {

    @NotNull
    private BigDecimal maxAmount;

    @NotNull
    private BigDecimal minAmount;

    @NotNull
    private Integer leverage;
}
