xiaoyong931011
2021-11-24 54d2e6cccbcc8ecb176d807f80f5f64cf104018f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.xcong.excoin.modules.fish.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
@Data
@ApiModel(value = "CoinGoldExchangeDto", description = "参数类")
public class CoinGoldExchangeDto {
 
    @NotNull(message = "兑换金额不能为空")
    @ApiModelProperty(value = "兑换金额", example = "100")
    private BigDecimal balance;
 
    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型", example = "1:金币兑换代币 2:代币兑换金币")
    private Integer type;
 
}