| package com.xzx.gc.shop.vo; | 
|   | 
| import cn.hutool.core.date.DateUtil; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
|   | 
| import java.math.BigDecimal; | 
| import java.util.Date; | 
|   | 
| @Data | 
| @ApiModel(value = "XcxScoreDetailsVo", description = "小程序积分明细返回参数类") | 
| public class XcxScoreDetailsVo { | 
|   | 
|     @ApiModelProperty(value = "类型 1-用户充值2-集物员支付3-用户兑换所得4-用户消费5-消费退回6-管理员充值7-其他") | 
|     private Integer type; | 
|   | 
|     @ApiModelProperty(value = "时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 
|     private Date createdTime; | 
|   | 
|     @ApiModelProperty(value = "变动积分") | 
|     private BigDecimal score; | 
|   | 
|     private String createTime; | 
|   | 
|     public void setCreatedTime(Date createdTime) { | 
|         this.createdTime = createdTime; | 
|         this.createTime = DateUtil.format(createdTime, "yyyy-MM-dd HH:mm:ss"); | 
|     } | 
| } |