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

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzs.common.core.annotation.BigDecimalFormat;
import com.hzs.common.core.annotation.Excel;
import lombok.*;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 会员充值表
 * </p>
 *
 * @author hzs
 * @since 2022-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class CuMemberRechargeExt extends CuMemberRecharge {

    private static final long serialVersionUID = -8467255989231317149L;

    /**
     * 会员编号
     */
    private String memberCode;

    /**
     * 会员姓名
     */
    private String memberName;

    /**
     * 交款方式
     */
    private Integer paymentMethod;

    /**
     * 交款金额
     */
    private BigDecimal paymentAmount;


    /**
     * 交款后的余额
     */
    private BigDecimal paymentBalance;


    /**
     * 交款前的余额
     */
    private BigDecimal paymentBeforeBalance;

    /**
     * 操作人
     */
    private String creator;

    /**
     * 审核人
     */
    private String approverName;


    /**
     * 充值详情
     */
    List<CuMemberRechargeDetail> memberRechargeDetails;


    /**
     * 充值金额（本币）
     */
    private BigDecimal settlePaymentAmount;


}
