package com.xcong.excoin.modules.symbols.parameter.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
*
|
* @Author wzy
|
* @Date 2020/5/28
|
**/
|
@Data
|
@ApiModel(value = "KlineDetailDto", description = "请求K线类")
|
public class KlineDetailDto {
|
|
@NotNull
|
@ApiModelProperty(value = "币种", example = "BTC/USDT")
|
private String symbol;
|
|
@NotNull
|
@ApiModelProperty(value = "", example = "5min")
|
private String period;
|
|
@NotNull
|
@ApiModelProperty(value = "", example = "150")
|
private Integer size;
|
|
@NotNull
|
@ApiModelProperty(value = "", example = "1")
|
private Integer type;
|
}
|