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

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;

/**
 * 新零售会员数量
 *
 * @author hzs
 * @since 2024-12-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_MEMBER_RETAIL_QUANTITY_SEQ")
@TableName("CU_MEMBER_RETAIL_QUANTITY")
public class CuMemberRetailQuantity extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 推荐人ID
     */
    @TableField("PK_PARENT")
    private Long pkParent;

    /**
     * 累计数量
     */
    @TableField("QUANTITY")
    private Integer quantity;


}
