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

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.symbol.record.RiskSymbolRecordAddEntity;
import lombok.Data;

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

@Data
public class RiskSymbolAddEntity extends BaseAddEntity {
    @NotNull
    private String name;
    @NotNull
    private String platform;

    @NotNull
    private Date adjustTime;
    @NotNull
    private Integer source;

    private List<RiskSymbolRecordAddEntity> data;
}
