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 = "时间粒度,默认值1m", example = "时间粒度,默认值1m,如 [1s/1m/3m/5m/15m/30m/1H/2H/4H]")
|
private String bar;
|
|
@NotNull
|
@ApiModelProperty(value = "类型 1-币币2-合约", example = "1")
|
private Integer type;
|
|
}
|