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

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 2023-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("CU_ACTIVE_MEMBER_CENSUS_SEQ")
@TableName("CU_ACTIVE_MEMBER_CENSUS")
public class CuActiveMemberCensus extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Long pkId;

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

    /**
     * 注册单统计
     */
    @TableField("REGISTER")
    private Integer register;

    /**
     * 升级单统计
     */
    @TableField("UPGRADE")
    private Integer upgrade;

    /**
     * 复购单统计
     */
    @TableField("REPURCHASE")
    private Integer repurchase;

    /**
     * 小区新增统计
     */
    @TableField("NEWLY_VILLAGE")
    private Integer newlyVillage;


}
