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

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.sql.Time;
import java.util.List;

@Data
public class RiskGroupLeverageScheduledAddEntity extends BaseAddEntity {

    @NotNull
    private String platform;
    @NotNull
    private List<String> groupCodes;

    @NotNull
    private Integer startWeekday;

    @NotNull
    private Time startTime;

    @NotNull
    private Integer endWeekday;

    @NotNull
    private Time endTime;

    @NotNull
    private List<RiskGroupLeverageRuleSaveEntity> rules;

    private List<Long> excludeLogins;

    private List<RiskGroupLeverageExcludeLoginSaveEntity> excludeLoginSaveEntities;
}
