package com.crm.rely.backend.core.entity.risk.leverage.login;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.rule.RiskLeverageGroupRuleSaveEntity;
import com.crm.rely.backend.core.entity.risk.leverage.login.rule.RiskLeverageLoginRuleSaveEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

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

@Data
public class RiskLeverageLoginAddEntity extends BaseAddEntity {
    @NotNull
    @NotBlank
    private String platform;

    @NotNull
    private Long login;

    @NotNull
    private List<RiskLeverageLoginRuleSaveEntity> rules;

}
