Helius
2021-01-26 cde91db7a91dbd1406b3eb700880ff8343de7ccb
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package com.matrix.system.app.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.matrix.core.tools.DateUtil;
import com.matrix.system.constance.Dictionary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * @author wzy
 * @date 2020-12-28
 **/
@ApiModel(value = "VipCardListVo", description = "会员卡项列表")
public class VipCardListVo {
 
    @ApiModelProperty(value = "卡项名称")
    private String cardName;
 
    @ApiModelProperty(value = "现有金额")
    private BigDecimal realMoney;
 
    @ApiModelProperty(value = "赠送金额")
    private BigDecimal giftMoney;
 
    @ApiModelProperty(value = "状态 1-有效 2-无效")
    private String status;
 
    @JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8")
    @ApiModelProperty(value = "有效时间")
    private Date failTime;
 
    public String getCardName() {
        return cardName;
    }
 
    public void setCardName(String cardName) {
        this.cardName = cardName;
    }
 
    public BigDecimal getRealMoney() {
        return realMoney;
    }
 
    public void setRealMoney(BigDecimal realMoney) {
        this.realMoney = realMoney;
    }
 
    public BigDecimal getGiftMoney() {
        return giftMoney;
    }
 
    public void setGiftMoney(BigDecimal giftMoney) {
        this.giftMoney = giftMoney;
    }
 
    public String getStatus() {
        return status;
    }
 
    public void setStatus(String status) {
        if (Dictionary.MONEYCARD_STATUS_YX.equals(status)) {
            this.status = "1";
        } else {
            this.status = "2";
        }
    }
 
    public Date getFailTime() {
        return failTime;
    }
 
    public void setFailTime(Date failTime) {
        this.failTime = failTime;
    }
}