package com.iformall.domain.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class WxCreditHistoryVo {


    @Excel(name = "微信昵称", width = 20, orderNum = "1")
    @io.swagger.annotations.ApiModelProperty(value="姓名",name="name")
    private String name;

    @Excel(name = "手机号", width = 20, orderNum = "2")
    @io.swagger.annotations.ApiModelProperty(value = "手机号", name = "phone")
    private String phone;

    @Excel(name = "性别", width = 20, orderNum = "3", replace = {"保密_0", "男_1", "女_2"})
    @io.swagger.annotations.ApiModelProperty(value="性别",name="sex")
    private String sex;

    @Excel(name = "总积分", width = 20, orderNum = "4")
    @io.swagger.annotations.ApiModelProperty(value = "总积分", name = "creditAmount")
    private Integer creditAmount;

    @Excel(name = "积分操作", width = 20, orderNum = "5")
    @io.swagger.annotations.ApiModelProperty(value = "每笔积分明细", name = "creditNum")
    private Integer creditNum;

    @Excel(name = "时间", width = 20, orderNum = "6", format = "yyyy-MM-dd HH:mm:ss")
    @io.swagger.annotations.ApiModelProperty(value = "创建日期", name = "createDate")
    private Date createDate;

    @Excel(name = "消费商户", width = 20, orderNum = "7")
    @io.swagger.annotations.ApiModelProperty(value = "商户", name = "merchantName")
    private String merchantName;

    @Excel(name = "积分来源", width = 20, orderNum = "8", replace = {"客户端_1", "客户端_2", "商户端_3", "管理端_4"})
    @io.swagger.annotations.ApiModelProperty(value = "操作人类型", name = "operator")
    private Integer operatorType;

    @Excel(name = "操作说明", width = 20, orderNum = "9", replace = {"每日登录_1", "消费_2", "绑车牌_3", "连接WIFI_4", "微信用户昵称授权_5", "微信用户手机授权_6", "完善个人信息_7", "会员导入_8", "会员成长值扣减_9", "新增积分_10", "积分兑换_11", "消费积分_12", "活动报名_13"})
    @io.swagger.annotations.ApiModelProperty(value = "积分类型", name = "creditType")
    private Integer creditType;

    @Excel(name = "购物小票", width = 20, orderNum = "10")
    @io.swagger.annotations.ApiModelProperty(value = "小票URL", name = "receiptUrl")
    private String receiptUrl;

    @Excel(name = "操作人", width = 20, orderNum = "12")
    @io.swagger.annotations.ApiModelProperty(value = "操作人", name = "operator")
    private String operator;

    @io.swagger.annotations.ApiModelProperty(value="积分ID",name="creditId")
    private String creditId;

    @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
    private String tenantId;

    @io.swagger.annotations.ApiModelProperty(value="用户ID",name="cUserId")
    private Long cUserId;

    @io.swagger.annotations.ApiModelProperty(value="操作人ID",name="operatorId")
    private Long operatorId;

    @io.swagger.annotations.ApiModelProperty(value="商户ID",name="merchantId")
    private Long merchantId;

    @Excel(name = "小票号", width = 20, orderNum = "11")
    @io.swagger.annotations.ApiModelProperty(value = "小票号", name = "ticketNumber")
    private String ticketNumber;

}
