fix
Helius
2021-11-05 c63ab6d1f310355d9aa48957142e1f19ac2cbd40
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.contract.parameter.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2020-06-02
 **/
@Data
@ApiModel(value = "ProfitOrLessDto", description = "设置止盈止损接口参数类")
public class ProfitOrLessDto {
 
    @NotNull
    @ApiModelProperty(value = "订单ID", example = "1")
    private Long id;
 
    @ApiModelProperty(value = "止盈价", example = "9000.00")
    private BigDecimal stopProfitPrice;
 
    @ApiModelProperty(value = "止损价", example = "9000.00")
    private BigDecimal stopLessPrice;
}