package com.fs.hisStore.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class FsUserIntegralLogsListVO {
    /** id */
    private Long id;

    /** 用户id */

    private Long userId;

    /** 1 签到获得积分 2购买商品获得积分 3购买积分商品  */
    @Excel(name = "类别",dictType = "sys_integral_log_type")
    private String logType;

    /** 积分 正数表示增加积分，负数表示减少积分 */
    @Excel(name = "积分")
    private BigDecimal integral;

    /** 积分余额 */
    @Excel(name = "积分余额")
    private BigDecimal balance;
    @Excel(name = "用户昵称")
    private String nickName;
    @Excel(name = "用户电话")
    private String phone;
    /** 订单关联id */
    @Excel(name = "订单关联id")
    private String businessId;
    @Excel(name = "订单关联订单编号")
    private String businessCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
