package com.hzs.common.domain.activity.benefits;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 升级权限赠送规则表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_UPGRADE_GIVE_RULE_CONFIG")
@KeySequence("AC_RULE_CONFIG_SEQ")
public class AcUpgradeGiveRuleConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 活动基本配置主键
     */
    @TableField("PK_BASE_ID")
    private Long pkBaseId;

    /**
     * 会员点位个数
     */
    @TableField("MEMBER_POINT")
    private Long memberPoint;

    /**
     * 达标等级
     */
    @TableField("GRADE")
    private Long grade;

    /**
     * 赠送等级
     */
    @TableField("GIVE_GRADE")
    private Integer giveGrade;


}
