package com.ylx.point.domain.vo;

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("用户积分列表信息")
public class UserPointLogVO {

    @ApiModelProperty("活动名称")
    private String activityName;

    @ApiModelProperty("变动值")
    private BigDecimal points;

    @ApiModelProperty("1-收入 2-支出 3-过期")
    private Integer opType;

    @ApiModelProperty("变动时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
