package com.hzs.member.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.common.core.web.domain.BaseApprovalEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 注水业绩记录表下载模板VO
 * </p>
 *
 * @author hzs
 * @since 2022-08-22
 */
@Data
public class CuMemberAchieveLogImportVO extends BaseApprovalEntity {

    private static final long serialVersionUID = 1L;

    private Integer pkId;

    /**
     * 会员主键
     */
    private Long pkMember;
    /**
     * 会员编号
     */
    @Excel(name = "会员编号" )
    private String memberCode;

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

    /**
     * 变更后A左区累计 变更后左区真实业绩
     */
    @Excel(name = "变更后左区真实业绩(PV)" )
    private BigDecimal asumRealModifyPv;

    /**
     * 变更后B右区累计 更后右区真实业绩
     */
    @Excel(name = "变更后右区真实业绩(PV)" )
    private BigDecimal bsumRealModifyPv;

    /**
     * 变更后A左区 变更后左区首购业绩
     */
    @Excel(name = "变更后左区首购业绩(PV)" )
    private BigDecimal afirstModifyPv;

    /**
     * 变更后B右区 变更后右区首购业绩
     */
    @Excel(name = "变更后右区首购业绩(PV)" )
    private BigDecimal bfirstModifyPv;

    /**
     * 变更后A左区复购业绩累计业绩
     */
    @Excel(name = "变更后左区复购业绩(PV)" )
    private BigDecimal repAModifySumPv;

    /**
     * 变更后B右区复购业绩累计业绩
     */
    @Excel(name = "变更后右区复购业绩(PV)" )
    private BigDecimal repBModifySumPv;

    /**
     * 变更后A左区首购结余
     */
    @Excel(name = "变更后左区首购结余" )
    private BigDecimal repAFirstModifyBalance;
    /**
     * 变更后B右区首购结余
     */
    @Excel(name = "变更后右区首购结余" )
    private BigDecimal repBFirstModifyBalance;


    /**
     * 变更后A左区复购结余
     */
    @Excel(name = "变更后左区复购结余" )
    private BigDecimal repAModifyBalance;

    /**
     * 变更后B右区复购结余
     */
    @Excel(name = "变更后右区复购结余" )
    private BigDecimal repBModifyBalance;

    /**
     * 结算日期 注水日期（年-月-日）
     */
    @Excel(name = "注水日期",dateFormat = "yyyy-MM-dd" )
    private Date settleDate;

    /**
     * 到期日期
     */
    @Excel(name = "到期日期",dateFormat = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dueDate;

    private String errorMsg;

    /**
     * 费用
     */
    private BigDecimal cost;
    /**
     * 扣款币种类型
     */
    private Integer pkAccount;
    /**
     * 扣款币种类型
     */
    @Transaction(transactionKey = EnumsPrefixConstants.KEY_ACC)
    private Integer pkAccountKey;
    /**
     * 扣款币种类型
     */
    private String pkAccountKeyVal;



}
