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.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 推荐升级业务表
 * </p>
 *
 * @author hzs
 * @since 2023-04-27
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_RECOM_UPGRADE_RECORD")
@KeySequence("AC_RECOM_UPGRADE_RECORD_SEQ")
public class AcRecomUpgradeRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 规则主键
     */
    @TableField("PK_RULE_ID")
    private Long pkRuleId;

    /**
     * 推荐人ID
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

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

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

    /**
     * 订单ID
     */
    @TableField("PK_ORDER_ID")
    private Long pkOrderId;

    /**
     * 推荐等级
     */
    @TableField("UPGRADE_STATUS")
    private Integer upGradeStatus;


}
