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

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import com.crm.rely.backend.core.entity.risk.symbol.leverage.rule.RiskSymbolLeverageRuleSaveEntity;
import lombok.Data;

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

@Data
public class RiskSymbolLeverageScheduledUpdateEntity extends BaseUpdateEntity {


    @NotNull
    private Integer startWeekday;

    @NotNull
    private Time startTime;

    @NotNull
    private Integer endWeekday;

    @NotNull
    private Time endTime;

    private String platform;
    @NotNull
    private List<RiskSymbolLeverageRuleSaveEntity> rules;

}
