puzhibing
2023-06-13 7860e5cb6db60aeb82c640651998f8294635df5b
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
package com.dsh.course.feignClient.activity.model;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 用户红包记录
 */
@Data
public class UserRedPacketRecordRes {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 金额
     */
    private Double money;
    /**
     * 过期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expirationTime;
    /**
     * 添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertTime;
    /**
     * 企业id
     */
    private Integer companyId;
    /**
     * 状态(0=临时,1=未使用,2=已使用,3=已过期)
     */
    private Integer state;
    /**
     * 使用结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /**
     * 订单id(获取红包的订单)
     */
    private Long orderId;
    /**
     * 订单类型(1=专车,4=小件物流)
     */
    private Integer orderType;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 活动id
     * @return
     */
    private Integer redPacketActivityId;
}