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

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

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

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

    @NotNull
    private List<RiskGroupLeverageSymbolDetailSaveEntity> symbols;
}
