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

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.exclude.login.RiskLeverageRuleExcludeLoginSaveEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.rule.RiskLeverageGroupRuleSaveEntity;
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 RiskLeverageGroupUpdateEntity extends BaseUpdateEntity {

    @NotNull
    @NotBlank
    private String platform;

    @NotNull
    @NotBlank
    private String groupCode;

    @NotNull
    private List<RiskLeverageGroupRuleSaveEntity> rules;

    private List<Long> excludeLogins;

    private List<RiskLeverageRuleExcludeLoginSaveEntity> excludeLoginSaveEntities;
}
