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; }