package com.xcong.excoin.modules.newPrice;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
|
@Data
|
@ApiModel(value = "KlineVo", description = "请求K线类")
|
public class KlineVo implements Serializable {
|
|
|
@NotNull
|
@ApiModelProperty(value = "币种", example = "BTC/USDT")
|
private String instId;
|
|
@NotNull
|
@ApiModelProperty(value = "类型 1-币币2-合约", example = "1")
|
private Integer type;
|
|
}
|