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_level_config")
@Data
@EqualsAndHashCode(callSuper = true)
public class WxLevelConfig extends BaseEntity {
	private static final long serialVersionUID = 1L;
	@TableField(exist = false)
	public static final int DEFAULT_SCALE = 10;

    protected Long id;

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

	@io.swagger.annotations.ApiModelProperty(value="成长值",name="points")
	private Integer points;
	@io.swagger.annotations.ApiModelProperty(value="等级",name="level")
	private String level;
	@io.swagger.annotations.ApiModelProperty(value="描述",name="description")
	private String description;
	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
	private Date createDate;
	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
	private Date updateDate;

	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="capability")
	private String capability;

	@io.swagger.annotations.ApiModelProperty(value="是否启用(0:未启用，启用1，2，3，分别对应wx_merchant_discount里的rate_vip1, rate_vip2, rate_vip3)",name="discountEnable")
	private Integer discountEnable;

	@io.swagger.annotations.ApiModelProperty(value="积分倍率（默认值1.0）",name="scale")
	private Integer scale ;

	@TableField(exist = false)
	protected Long count;

	@TableField(exist = false)
	protected Long userCount;

}
