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

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.group.leverage.login.RiskGroupLeverageExcludeLoginSaveEntity;
import com.crm.rely.backend.core.entity.risk.group.leverage.rule.RiskGroupLeverageRuleSaveEntity;
import lombok.Data;

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

@Data
public class RiskGroupLeverageAddEntity extends BaseAddEntity {

    @NotNull
    private String platform;
    @NotNull
    private List<String> groupCodes;
    @NotNull
    private Date startTime;
    @NotNull
    private Date endTime;
    @NotNull
    private List<RiskGroupLeverageRuleSaveEntity> rules;

    private List<Long> excludeLogins;

    private List<RiskGroupLeverageExcludeLoginSaveEntity> excludeLoginSaveEntities;
}
