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

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.symbol.leverage.symbol.detail.RiskSymbolLeverageSymbolDetailSaveEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

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

@Data
public class RiskSymbolLeverageSymbolAddEntity extends BaseAddEntity {
    @NotNull
    @NotBlank
    private String name;

    @NotNull
    private List<RiskSymbolLeverageSymbolDetailSaveEntity> symbols;
}
