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

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
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 RiskSymbolLeverageSymbolUpdateEntity extends BaseUpdateEntity {

    @NotNull
    @NotBlank
    private String name;

    @NotNull
    private List<RiskSymbolLeverageSymbolDetailSaveEntity> symbols;
}
