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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.dy.pipIrrGlobal.voSe;
 
import com.alibaba.fastjson2.annotation.JSONField;
import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.dy.common.po.BaseEntity;
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;
 
/**
 * @author :WuZeYu
 * @Date :2024/6/17  11:24
 * @LastEditTime :2024/6/17  11:24
 * @Description
 */
@Data
@JsonPropertyOrder({"vcId", "clientId", "rechargeTime", "rechargeAmount", "afterRecharge", "rechargeType"})
public class VoVcRecharge implements BaseEntity {
    private static final long serialVersionUID = 202410211420001L;
 
    /**
     * 虚拟卡ID
     */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    private Long vcId;
 
    /**
     * 农户ID
     */
    @JSONField(serializeUsing= ObjectWriterImplToString.class)
    private Long clientId;
 
    /**
     * 充值完成时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rechargeTime;
 
    /**
     * 充值金额
     */
    private Integer rechargeAmount;
 
    /**
     * 充值后余额
     */
    private Double afterRecharge;
 
    /**
     * 充值类型
     */
    private String rechargeType;
 
    /**
     * 虚拟卡状态,暂时不用,直接过滤掉已注销虚拟卡
     */
    //private String cardState;
 
}