xiaoyong931011
2021-03-04 f1279b3dda0ae1961fd8254d467a3a2814277ec2
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
30
31
32
33
34
35
package com.xcong.excoin.modules.documentary.dto;
 
import java.math.BigDecimal;
 
import javax.validation.constraints.NotNull;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel(value = "DocumentaryOrderSetDto", description = "参数接受类")
public class DocumentaryOrderSetDto {
    
    @NotNull
    @ApiModelProperty(value = "交易员ID", example = "1")
    private Long traderId;
    
    @NotNull
    @ApiModelProperty(value = "跟单合约(多个,且逗号隔开)", example = "BTC/USDT")
    private String symbols;
 
    @NotNull
    @ApiModelProperty(value = "跟单方式类型1:固定张数2:固定比例", example = "1")
    private Integer followType;
    
    
    @NotNull
    @ApiModelProperty(value = "跟单张数或比例", example = "2")
    private Integer followCnt;
    
    @ApiModelProperty(value = "跟单最大持仓张数数量", example = "2")
    private int maxFollowCnt;
 
}