package com.xcong.excoin.modules.coin.parameter.dto; import javax.validation.constraints.NotNull; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @Data @ApiModel(value = "FindCollectDto", description = "币币自选|取消自选参数接收类") public class FindCollectDto { @NotNull(message = "币种") @ApiModelProperty(value = "币种", example = "BTC") private String symbol; @NotNull(message = "币币自选") @ApiModelProperty(value = "自选标识1:选中0:未选中", example = "1") private Integer type; }