package com.hzs.common.domain.member.detail;

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;

/**
 * <p>
 * 升级权限赠送活动会员升级日志表
 * </p>
 *
 * @author zhangjing
 * @since 2024-10-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("CU_UPGRADE_GIVE_LOG")
@KeySequence("CU_UPGRADE_GIVE_LOG_SEQ")
public class CuUpgradeGiveLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 原等级
     */
    @TableField("OLD_LEVEL")
    private Integer oldLevel;

    /**
     * 新等级
     */
    @TableField("NEW_LEVEL")
    private Integer newLevel;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 订单主键
     */
    @TableField("PK_ORDER")
    private Long pkOrder;

    /**
     * 姓名
     */
    @TableField("MEMBER_NAME")
    private String memberName;

    /**
     * 手机
     */
    @TableField("PHONE")
    private String phone;


}
