package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.*;

@TableName(value = "wx_score_history")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxScoreHistory extends BaseEntity {
	private static final long serialVersionUID = 1L;
	
    protected Long id;

    @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="创建日期",name="createDate")
	private Date createDate;
	@io.swagger.annotations.ApiModelProperty(value="/**成长值类型(1:每日登录, 2:消费,3:绑车牌,4:连接wifi,5:微信昵称授权,6:微信手机授权)**/",name="scoreType")
	private Integer scoreType;
	@io.swagger.annotations.ApiModelProperty(value="有效日期",name="validDate")
	private Date validDate;
	@io.swagger.annotations.ApiModelProperty(value="单据号",name="orderId")
	private Long orderId;
	@io.swagger.annotations.ApiModelProperty(value="支付方式",name="payType")
	private Integer payType;
	@io.swagger.annotations.ApiModelProperty(value="支付金额",name="payAmount")
	private Integer payAmount;
	@io.swagger.annotations.ApiModelProperty(value="积分",name="scoreAmount")
	private Integer scoreAmount;
	@io.swagger.annotations.ApiModelProperty(value="扣减原因",name="reason")
	private String reason;

	@TableField(exist = false)
	@io.swagger.annotations.ApiModelProperty(value="查询-开始时间",name="startdate")
	private Date startdate;

	@TableField(exist = false)
	@io.swagger.annotations.ApiModelProperty(value="查询-结束时间",name="enddate")
	private Date enddate;

}
