package com.ylx.massage.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 微信用户VO
 */
@Data
public class TWxUserVo  implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @JsonProperty(value = "id", index = 0)
    @ApiModelProperty("用户ID")
    private String id;

    /**
     * 微信小程序openId
     */
    @JsonProperty(value = "cOpenid", index = 1)
    @ApiModelProperty("微信小程序openId")
    private String cOpenid;

    /**
     * 头像地址
     */
    @JsonProperty(value = "cIcon", index = 2)
    @ApiModelProperty("头像地址")
    private String cIcon;

    /**
     * 昵称
     */
    @JsonProperty(value = "cNickName", index = 3)
    @ApiModelProperty("昵称")
    private String cNickName;

    /**
     * 电话号码
     */
    @JsonProperty(value = "cPhone", index = 4)
    @ApiModelProperty("电话号码")
    private String cPhone;

    /**
     * 消费金额
     */
    @JsonProperty(value = "dMoney", index = 5)
    @ApiModelProperty("消费金额")
    private BigDecimal dMoney;

    /**
     * 下单次数
     */
    @JsonProperty(value = "nNum", index = 6)
    @ApiModelProperty("下单次数")
    private Integer nNum;

    /**
     * 当前余额
     */
    @JsonProperty(value = "dBalance", index = 7)
    @ApiModelProperty("当前余额")
    private BigDecimal dBalance;

    /**
     * 总收益
     */
    @JsonProperty(value = "dAllMoney", index = 8)
    @ApiModelProperty("总收益")
    private BigDecimal dAllMoney;

    /**
     * 购物金
     */
    @JsonProperty(value = "giftCardPayAmount", index = 9)
    @ApiModelProperty("购物金")
    private BigDecimal giftCardPayAmount;

    /**
     * 当前可用积分
     */
    @JsonProperty(value = "currentPoints", index = 10)
    @ApiModelProperty("当前积分")
    private Integer currentPoints;

    /**
     * 累计获得积分
     */
    @JsonProperty(value = "totalPoints", index = 11)
    @ApiModelProperty("累计积分")
    private Integer totalPoints;

    /**
     * 创建时间，格式：yyyy-MM-dd HH:mm:ss
     */
    @JsonProperty(value = "createTime", index = 12)
    @ApiModelProperty("创建时间")
    private String createTime;

}
