package com.fzm.mall.server.admin.marketing.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 运营中心-积分返现
 * </p>
 *
 * @author wlx
 * @since 2021-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("marketing_member_integral_recurrence")
@ApiModel(value="MemberIntegralRecurrence对象", description="运营中心-积分返现")
public class MemberIntegralRecurrence implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员配置表自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "等级：	1--普通会员	2--白银会员	3--黄金会员	4--钻石会员	5--黑卡会员")
    private Integer level;

    @ApiModelProperty(value = "购物返现")
    private BigDecimal shopRefund;

    @ApiModelProperty(value = "评价返现")
    private BigDecimal evaluationRefund;

    @ApiModelProperty(value = "签到返现")
    private BigDecimal signInRefund;

    @ApiModelProperty(value = "商户号")
    private String merchantId;

    @ApiModelProperty(value = "信息入库时间")
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    @ApiModelProperty(value = "信息更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;


}
