| 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; | 
|     } | 
| } |