package com.crm.rely.backend.core.entity.risk.group.type.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 RiskGroupTypeRuleSaveEntity extends BaseAddEntity {

    private Long groupTypeLoginId;

    @NotNull
    private BigDecimal maxAmount;

    @NotNull
    private BigDecimal minAmount;

    @NotNull
    private Long groupType;
}
