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

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

/**
 * <p>
 * 会员关联子账户表
 * </p>
 *
 * @author yuhui
 * @since 2023-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("CU_MEMBER_RELATED_ACCOUNTS")
@KeySequence("CU_MEMBER_RELATED_ACCOUNTS_SEQ")
public class CuMemberRelatedAccounts extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 会员关联主键（被关联用户主键）
     */
    @TableField("PK_RELATED_MEMBER")
    private Long pkRelatedMember;


}
