liujie
2026-03-11 84fceb446e015eb566835da3722dd28fa21db6f8
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
package com.xiaopeng.account.model.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Data
@ApiModel("用户优惠券列表Vo")
public class XpAppUserCouponListVo {
 
    @ApiModelProperty(value = "Id")
    private String couponId;
 
    @ApiModelProperty(value = "优惠券名称")
    private String title;
 
    @ApiModelProperty(value = "优惠金额")
    private Double discountAmount;
 
    @ApiModelProperty(value = "适用城市")
    private List<String> applicableCities;
 
 
    @ApiModelProperty(value = "有效期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime expireTime;
 
    @ApiModelProperty(value = "状态 1-未使用 2-已使用 3-已过期 0待领取")
    private Integer status;
 
    @ApiModelProperty(value = "使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime useTime;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
 
    @ApiModelProperty(value = "时段规则")
    private String timeRule;
 
    @ApiModelProperty(value = "优惠券说明")
    private String couponDesc;
}