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

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

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

@Data
public class RiskSymbolLeverageAddEntity extends BaseAddEntity {
    @NotNull
    private Date startTime;
    @NotNull
    private Date endTime;

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

}
