| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.util.Date; |
| | | |
| | |
| | | * @Description |
| | | */ |
| | | @Data |
| | | @JsonPropertyOrder({"vcId", "clientId", "rechargeTime", "rechargeAmount", "afterRecharge", "rechargeType"}) |
| | | public class VoVcRecharge implements BaseEntity { |
| | | private static final long serialVersionUID = 202410211420001L; |
| | | |
| | | @Schema(title = "充值ID") |
| | | private Long id; |
| | | |
| | | @Schema(description = "虚拟卡ID") |
| | | /** |
| | | * 虚拟卡ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long vcId; |
| | | |
| | | @Schema(description = "农户ID") |
| | | /** |
| | | * 农户ID |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long clientId; |
| | | |
| | | |
| | | @Schema(description = "钱包余额") |
| | | private Double money; |
| | | |
| | | @Schema(description = "充值后余额") |
| | | private Double afterRecharge; |
| | | |
| | | @Schema(description = "订单号") |
| | | private String orderNumber; |
| | | |
| | | @Schema(description = "充值金额") |
| | | private Integer rechargeAmount; |
| | | |
| | | @Schema(description = "下单时间") |
| | | private Date orderTime; |
| | | |
| | | @Schema(description = "充值完成时间") |
| | | /** |
| | | * 充值完成时间 |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date rechargeTime; |
| | | |
| | | @Schema(description = "订单状态") |
| | | private Byte orderState; |
| | | /** |
| | | * 充值金额 |
| | | */ |
| | | private Integer rechargeAmount; |
| | | |
| | | @Schema(description = "订单状态") |
| | | private String orderStateName; |
| | | /** |
| | | * 充值后余额 |
| | | */ |
| | | @JsonFormat(shape = JsonFormat.Shape.NUMBER_FLOAT, pattern="0.00" ) |
| | | private Double afterRecharge; |
| | | |
| | | /** |
| | | * 充值类型 |
| | | */ |
| | | private String rechargeType; |
| | | |
| | | /** |
| | | * 虚拟卡状态,暂时不用,直接过滤掉已注销虚拟卡 |
| | | */ |
| | | //private String cardState; |
| | | |
| | | } |