package com.crm.rely.backend.core.entity.risk.riskimport.trade;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import com.crm.rely.backend.core.entity.risk.riskimport.trade.record.RiskImportTradeRecordAddEntity;
import lombok.Data;

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

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

    @NotNull
    private Date importTime;
    
    @NotNull
    private Integer source;

    private List<RiskImportTradeRecordAddEntity> data;
}
