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

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.group.type.rule.RiskGroupTypeRuleSaveEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

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

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

    @NotNull
    private Long login;

    @NotNull
    private List<RiskGroupTypeRuleSaveEntity> rules;

}
