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

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

/**
 * <p>
 * 直推-推荐升级
 * </p>
 *
 * @author hzs
 * @since 2023-04-22
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_RECOM_UPGRADE_RULE_CONFIG")
@KeySequence("AC_RULE_CONFIG_SEQ")
public class AcRecomUpgradeRuleConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 结算等级
     */
    @TableField("PK_SETTLE_GRADE")
    private Integer pkSettleGrade;

    /**
     * 推荐等级
     */
    @TableField("PK_RECOMMEND_GRADE")
    private Integer pkRecommendGrade;

    /**
     * 推荐数量
     */
    @TableField("RECOMMEND_NUMBER")
    private Integer recommendNumber;

    /**
     * 升级等级
     */
    @TableField("PK_UPGRADE_GRADE")
    private Integer pkUpgradeGrade;


}
