Helius
2021-06-11 fed58c8b88dc71ea5a5fa1cf1b5527f0b4555089
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 = "k线时长", example = "5min")
    private String period;
 
    @NotNull
    @ApiModelProperty(value = "类型 1-币币2-合约", example = "1")
    private Integer type;
}