package com.hzs.member.handlebusiness.vo;

import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.common.core.web.domain.BaseApprovalEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * <p>
 * 业务类型和值的Vo
 * </p>
 *
 * @author zhangjing
 * @since 2023-01-11
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BusinessTypeValueVO extends BaseApprovalEntity implements Serializable {


    private static final long serialVersionUID = 1429070519712417616L;
    /**
     * 存值存取多个值
     */
    private List<Integer> businessValueList;
    /**
     * 审批业务类型来源于  枚举： EApprovalBusiness
     */
    @Transaction(transactionKey = EnumsPrefixConstants.APPROVAL_BUSINESS)
    private Integer businessType;
    /**
     * 审批业务类型来源于  枚举： EApprovalBusiness
     */
    private String businessTypeVal;

    /**
     * 按钮类型 来源枚举 EButtonType 1是特殊按钮
     */
    private Integer buttonType=1;
    /**
     * 变更后（页面固定文字）
     */
    private String afterTheChange;



    /**
     * 业务单号
     */
    private String businessNo;

    /**
     * 扣款币种类型
     */
    private Integer pkAccount;

    @Transaction(transactionKey = EnumsPrefixConstants.KEY_ACC)
    private Integer pkAccountKey;
    private String pkAccountKeyVal;
    private String deductionCurrency;

    /**
     * 新值翻译名称
     */
    private String newValue;

    /**
     * 费用
     */
    private BigDecimal cost;

    /**
     * 会员姓名
     */
    private String memberName;
    /**
     * 会员编号
     */
    private String memberCode;

    private Integer pkId;

}
