对比新文件 |
| | |
| | | package com.mzl.flower.dto.response.member; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.mzl.flower.base.AbstractTransDTO; |
| | | import com.mzl.flower.base.annotation.DictTrans; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigInteger; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | public class MemberGrowthRecordVO extends AbstractTransDTO { |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("记录日期") |
| | | @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8") |
| | | @DateTimeFormat |
| | | private Date recordDate; |
| | | |
| | | @ApiModelProperty("成长值") |
| | | private int growth; |
| | | |
| | | @ApiModelProperty("用户id") |
| | | private String userId; |
| | | |
| | | @ApiModelProperty("商户ID") |
| | | private BigInteger customerId; |
| | | |
| | | @ApiModelProperty("成长值来源(growth_source:签到、消费)") |
| | | @DictTrans(target = "sourceStr", codeType = "GROWTH_SOURCE") |
| | | private String source; |
| | | |
| | | private String sourceStr; |
| | | |
| | | @ApiModelProperty("新增、扣除(growth_type)") |
| | | @DictTrans(target = "typeStr", codeType = "GROWTH_TYPE") |
| | | private String type; |
| | | |
| | | private String typeStr; |
| | | |
| | | @ApiModelProperty("备注") |
| | | private String remarks; |
| | | |
| | | @ApiModelProperty("创建日期") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("修改日期") |
| | | private LocalDateTime updateTime; |
| | | } |