package com.crm.rely.backend.core.entity.risk.symbol.gtc.pending.symbol;

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import com.crm.rely.backend.core.entity.risk.symbol.gtc.pending.symbol.detail.RiskSymbolGtcPendingSymbolDetailSaveEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

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

@Data
public class RiskSymbolGtcPendingSymbolUpdateEntity extends BaseUpdateEntity {

    @NotNull
    @NotBlank
    private String name;

    @NotNull
    private List<RiskSymbolGtcPendingSymbolDetailSaveEntity> symbols;
}
