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

import com.hzs.common.domain.member.achieve.CuMemberTree;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Description: 日结算表，表内存储网体关系、会员业绩
 * @Author: sui q
 * @Time: 2022/10/31 14:22
 * @Classname: CuMemberTreeExt
 * @PackageName: com.hzs.common.domain.member.ext
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CuMemberSettleExt extends CuMemberTree {

    /**
     * 订单主键 不入库，为了批量查询，查询出订单对应的伞上所有安置人
     */
    private Long pkOrder;

    /**
     * 汇率
     */
    private Integer pkRate;

    private Integer gradeValue;

    /**
     * 原奖衔
     */
    private Integer pkOriAwards;

    /**
     * A区结余
     */
    private BigDecimal aBalance;

    /**
     * 备份A区结余
     */
    private BigDecimal rABalance;

    /**
     * 备份B区结余
     */
    private BigDecimal rBBalance;

    /**
     * B区结余
     */
    private BigDecimal bBalance;

    /**
     * A区累计金额
     */
    private BigDecimal aSumAmount;

    /**
     * B区累计金额
     */
    private BigDecimal bSumAmount;

    /**
     * A区累计业绩
     */
    private BigDecimal aSumPv;

    /**
     * B区累计业绩
     */
    private BigDecimal bSumPv;

    /**
     * A区新增金额
     */
    private BigDecimal aNewAmount;

    /**
     * B区新增金额
     */
    private BigDecimal bNewAmount;

    /**
     * A区新增业绩
     */
    private BigDecimal aNewPv;

    /**
     * B区新增业绩
     */
    private BigDecimal bNewPv;

    /**
     * A区累计真实金额
     */
    private BigDecimal aSumRealAmount;

    /**
     * B区累计真实金额
     */
    private BigDecimal bSumRealAmount;

    /**
     * A区累计真实业绩
     */
    private BigDecimal aSumRealPv;

    /**
     * B区累计真实业绩
     */
    private BigDecimal bSumRealPv;

    /**
     * 复购A区结余
     */
    private BigDecimal repABalance;

    /**
     * 复购B区结余
     */
    private BigDecimal repBBalance;

    /**
     * 备份复购A区结余
     */
    private BigDecimal rRepABalance;

    /**
     * 备份复购B区结余
     */
    private BigDecimal rRepBBalance;

    /**
     * 复购A区新增金额
     */
    private BigDecimal repANewAmount;

    /**
     * 复购B区新增金额
     */
    private BigDecimal repBNewAmount;

    /**
     * 复购A区新增业绩
     */
    private BigDecimal repANewPv;

    /**
     * 复购B区新增业绩
     */
    private BigDecimal repBNewPv;

    /**
     * 复购A区累计金额
     */
    private BigDecimal repASumAmount;

    /**
     * 复购B区累计金额
     */
    private BigDecimal repBSumAmount;

    /**
     * 复购A区累计业绩
     */
    private BigDecimal repASumPv;

    /**
     * 复购B区累计业绩
     */
    private BigDecimal repBSumPv;

    /**
     * 注册金额
     */
    private BigDecimal registerAmount;

    /**
     * 注册业绩
     */
    private BigDecimal registerPv;

    /**
     * 注册新增业绩
     */
    private BigDecimal registerNewAmount;

    /**
     * 注册新增业绩
     */
    private BigDecimal registerNewPv;

    /**
     * 升级金额
     */
    private BigDecimal upgradeAmount;

    /**
     * 升级业绩
     */
    private BigDecimal upgradePv;

    /**
     * 升级新增业绩
     */
    private BigDecimal upgradeNewAmount;

    /**
     * 升级新增业绩
     */
    private BigDecimal upgradeNewPv;

    /**
     * 复购金额
     */
    private BigDecimal repurchaseAmount;

    /**
     * 复购业绩
     */
    private BigDecimal repurchasePv;

    /**
     * 复购新增业绩
     */
    private BigDecimal repurchaseNewAmount;

    /**
     * 复购新增业绩
     */
    private BigDecimal repurchaseNewPv;

    /**
     * 嗨粉金额
     */
    private BigDecimal hiFunAmount;

    /**
     * 嗨粉业绩
     */
    private BigDecimal hiFunPv;

    /**
     * 嗨粉新增业绩
     */
    private BigDecimal hiFunNewAmount;

    /**
     * 嗨粉新增业绩
     */
    private BigDecimal hiFunNewPv;

    /**
     * 商城金额
     */
    private BigDecimal mallAmount;

    /**
     * 商城业绩
     */
    private BigDecimal mallPv;


    /**
     * 商城新增业绩
     */
    private BigDecimal mallNewAmount;

    /**
     * 商城新增业绩
     */
    private BigDecimal mallNewPv;

    /**
     * 注册血缘新增业绩
     */
    private BigDecimal registerBloNewPv;

    /**
     * 升级血缘新增业绩
     */
    private BigDecimal upgradeBloNewPv;

    /**
     * 复购血缘新增业绩
     */
    private BigDecimal repurchaseBloNewPv;

    /**
     * 嗨粉血缘新增业绩
     */
    private BigDecimal hiFunBloNewPv;

    /**
     * 商城血缘新增业绩
     */
    private BigDecimal mallBloNewPv;

    /**
     * 循环中最小业绩
     */
    private BigDecimal minAchieve;

    /**
     * 轮
     */
    private Integer round;

    /**
     * 次
     */
    private Integer second;

    /**
     * 考核类型，不入库，只用来区分复购考核跟分红考核
     */
    private Integer assessType;
    /**
     * 层级 不入库 安置架构层级使用
     */
    private Integer level;

    /**
     * 安置人编号
     */
    private String parentMemberCode;

    /**
     * 提货专区主键
     */
    private Long apPkId;

    /**
     * 产品id
     */
    private Long pkDataId;

    /**
     * 可提数量
     */
    private Integer usableQuantity;

    /**
     * 建议零售价
     */
    private BigDecimal retailPrice;

    /**
     * 色值
     */
    private String color;

    /**
     * 直推人数
     */
    private Long directPushNumber;
    /**
     * 直推业绩
     */
    private BigDecimal historyPerformancePv;

    /**
     * 店铺等级
     */
    private Integer storeLevel;

    /**
     * 购买创客礼包
     */
    private Integer isMakerGift;
    /**
     * 有效状态（1=有效期，2=休止期，3=已终止）
     */
    private Integer expireStatus;

    /**
     * 是否买过注册
     */
    private Integer isPayReg;

    /**
     * 福利比例
     */
    private BigDecimal abonusRatio;

    /**
     * 实发收益总计
     */
    private BigDecimal realIncomeTotal;
}
