xiaoyong931011
2022-08-09 45f867b6f1e83c52bc0c13dd99b8301e64692b30
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
package cc.mrbird.febs.mall.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2022-05-05
 **/
@Data
@ApiModel(value = "CommissionChangeDto", description = "佣金划转参数接收类")
public class CommissionChangeDto {
 
    @ApiModelProperty(value = "划转金额", example = "100")
    @NotNull(message = "请输入划转金额")
    private BigDecimal amount;
 
    @ApiModelProperty(value = "类型 1-to余额 2-to竞猜积分", example = "1")
    @NotNull(message = "参数错误")
    private Integer type;
}