| package com.dy.pipIrrSell.wechatpay.dto; | 
|   | 
| import io.swagger.v3.oas.annotations.media.Schema; | 
| import jakarta.validation.constraints.NotBlank; | 
| import jakarta.validation.constraints.NotNull; | 
| import jakarta.validation.constraints.Positive; | 
| import lombok.Data; | 
|   | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author ZhuBaoMin | 
|  * @date 2024-03-07 21:56 | 
|  * @LastEditTime 2024-03-07 21:56 | 
|  * @Description 订单对象,从充值表中取出的订单信息 | 
|  */ | 
|   | 
| @Data | 
| @Schema(name = "订单对象") | 
| public class Orders { | 
|     public static final long serialVersionUID = 202403072157001L; | 
|   | 
|     /** | 
|      * 订单号 | 
|      */ | 
|     @Schema(description = "订单号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotBlank(message = "订单号不能为空") | 
|     private String orderNumber; | 
|   | 
|     /** | 
|      * 充值金额 | 
|      */ | 
|     @Schema(description = "充值金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "充值金额不能为空") | 
|     @Positive(message = "充值金额必须为大于0的整数") | 
|     private Integer rechargeAmount; | 
|   | 
|     /** | 
|      * 充值完成时间 | 
|      */ | 
|     @Schema(description = "充值完成时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|     @NotNull(message = "充值完成时间不能为空") | 
|     private Date rechargeTime; | 
| } |