Administrator
2024-01-31 742e0a8ec019ccb76f03fcc58859ed15e9264c4c
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
36
package com.dy.pipIrrSell.wallet.dto;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;
 
/**
 * @author ZhuBaoMin
 * @date 2024-01-30 20:54
 * @LastEditTime 2024-01-30 20:54
 * @Description
 */
 
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "电子钱包账户充值传入对象")
public class DtoRecharge {
    public static final long serialVersionUID = 202401302055001L;
 
    /**
     * 农户ID
     */
    @Schema(description = "农户ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "农户ID不能为空")
    private Long clientId;
 
    /**
     * 充值金额
     */
    @Schema(description = "充值金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    @NotNull(message = "充值金额不能为空")
    private Double amount;
}