package com.jsowell.pile.vo.base;

import lombok.*;

import java.math.BigDecimal;

/**
 * 会员钱包VO
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MemberWalletVO {
    /**
     * 会员id
     */
    private String memberId;

    /**
     * 钱包编号
     */
    private String walletCode;

    /**
     * 所属运营商id
     */
    private String merchantId;

    /**
     * 所属运营商name
     */
    private String merchantName;

    /**
     * 本金余额
     */
    private BigDecimal principalBalance;

    /**
     * 赠送金余额
     */
    private BigDecimal giftBalance;

    /**
     * 总余额
     */
    private BigDecimal totalBalance;

    /**
     * 累计本金充值
     */
    private BigDecimal accumulatedRechargePrincipal;

    /**
     * 累计赠送金额
     */
    private BigDecimal accumulatedRechargeGift;

    /**
     * 总充值金额 = 累计本金充值 + 累计赠送金额
     */
    private BigDecimal totalRechargeAmount;

    /**
     * 累计消费 = 总充值金额 - 本金余额 - 赠送金余额
     */
    private BigDecimal accumulatedConsumptionAmount;
}
