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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("+")
public class CuMemberRetailRange extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 会员编号
     */
    @TableField("MEMBER_CODE")
    private String memberCode;

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

    @TableField("CUSTOMER_TYPE")
    private Integer customerType;

    @TableField("PHONE")
    private String phone;

    @TableField("PK_GRADE")
    private Integer pkGrade;

    /**
     * 会员奖衔（当月奖衔）
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;

    /**
     * 分红奖衔
     */
    @TableField("PK_SHARE_AWARDS")
    private Integer pkShareAwards;

    /**
     * 生效状态 0=是 1=否
     */
    @TableField("ENABLE_STATUS")
    private Integer enableStatus;

    @TableField("ACCOUNT_STATUS")
    private Integer accountStatus;

    @TableField("PAY_STATUS")
    private Integer payStatus;

    @TableField("PAY_TIME")
    private Date payTime;

    @TableField("CATEGORY")
    private Integer category;

    @TableField("PURCHASE_STATUS")
    private Integer purchaseStatus;

    @TableField("INCOME_STATUS")
    private Integer incomeStatus;

    @TableField("PK_TEAM_CODE")
    private Long pkTeamCode;

    @TableField("PK_CENTER_CODE")
    private Long pkCenterCode;

    @TableField("PK_VERTEX")
    private Long pkVertex;

    @TableField("PK_SETTLE_COUNTRY")
    private Integer pkSettleCountry;

    @TableField("IS_REAL_NAME")
    private Integer isRealName;

    @TableField("PK_RATE")
    private Integer pkRate;

    /**
     * 系统类型（2=新零售）
     */
    @TableField("SYSTEM_TYPE")
    private Integer systemType;

    /**
     * 本人当天新消费盒数
     */
    @TableField("NEW_BOX_NUM")
    private BigDecimal newBoxNum;
    /**
     * 本人累计消费盒数
     */
    @TableField("CONSUME_BOX_NUM")
    private BigDecimal consumeBoxNum;
    /**
     * 本人月累计盒数
     */
    @TableField("MONTH_BOX_NUM")
    private BigDecimal monthBoxNum;

    /**
     * 本人当天新消费pv
     */
    @TableField("NEW_CONSUME_PV")
    private BigDecimal newConsumePv;
    /**
     * 本人累计消费pv
     */
    @TableField("CONSUME_PV")
    private BigDecimal consumePv;
    /**
     * 本人月累计消费pv
     */
    @TableField("MONTH_CONSUME_PV")
    private BigDecimal monthConsumePv;


//    @TableField("own_box_num")
//    private Integer ownBoxNum;
//
//    /**
//     * 新消费盒数
//     */
//    @TableField("NEW_OWN_BOX_NUM")
//    private Integer newOwnBoxNum;

    /**
     * 团队当天新增盒数
     */
    @TableField("TEAM_NEW_BOX_NUM")
    private BigDecimal teamNewBoxNum;
    /**
     * 团队累计盒数
     */
    @TableField("TEAM_BOX_NUM")
    private BigDecimal teamBoxNum;
    /**
     * 团队月累计盒数
     */
    @TableField("TEAM_MONTH_BOX_NUM")
    private BigDecimal teamMonthBoxNum;

    /**
     * 团队当天新增消费pv
     */
    @TableField("TEAM_NEW_PV")
    private BigDecimal teamNewPv;
    /**
     * 团队累计消费pv
     */
    @TableField("TEAM_CONSUME_PV")
    private BigDecimal teamConsumePv;
    /**
     * 团队月累计消费pv
     */
    @TableField("TEAM_MONTH_PV")
    private BigDecimal teamMonthPv;

    /**
     * 团队新增消费金额
     */
    @TableField("TEAM_NEW_AMOUNT")
    private BigDecimal teamNewAmount;
    /**
     * 团队累计消费金额
     */
    @TableField("TEAM_CONSUME_AMOUNT")
    private BigDecimal teamConsumeAmount;
    /**
     * 团队月累计消费金额
     */
    @TableField("TEAM_MONTH_AMOUNT")
    private BigDecimal teamMonthAmount;


//    /**
//     * 月累计消费pv
//     */
//    @TableField("MONTH_OWN_CONSUME_PV")
//    private BigDecimal monthOwnConsumePv;
//
//    /**
//     * 新消费pv
//     */
//    @TableField("NEW_OWN_CONSUME_PV")
//    private BigDecimal newOwnConsumePv;

    /**
     * 推荐人数
     */
    @TableField("RECOMMEND_NUM")
    private Integer recommendNum;

    /**
     * 团队人数
     */
    @TableField("TEAM_NUM")
    private Integer teamNum;

    /**
     * 县级区域地址
     */
    @TableField("REGION_ADDRESS")
    private Integer regionAddress;

    /**
     * 大区注水盒数
     */
    @TableField("big_box_num")
    private BigDecimal bigBoxNum;

    /**
     * 小区注水盒数
     */
    @TableField("small_box_num")
    private BigDecimal smallBoxNum;

    @TableField("big_team_pv")
    private BigDecimal bigTeamPv;

    @TableField("small_team_pv")
    private BigDecimal smallTeamPv;

    /**
     * 区域分组ID
     */
    @TableField("region_vertex_pk_id")
    private Integer regionVertexPkId;

}
