package com.ssm.manage.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Table(name = "modify_recharge_record")
public class ModifyRechargeRecord implements Serializable {
    /**
     * 主键ID
     */
    @Id
    private Long id;

    /**
     * 账户修改单据号
     */
    @Column(name = "doc_num")
    private String docNum;

    /**
     * 会员ID
     */
    @Column(name = "member_id")
    private Long memberId;

    /**
     * 会员名称
     */
    @Column(name = "member_name")
    private String memberName;

    /**
     * 会员卡
     */
    private String card;

    /**
     * 充值单号
     */
    @Column(name = "recharge_num")
    private String rechargeNum;

    /**
     * 账户充值金额
     */
    @Column(name = "card_recharge_money")
    private BigDecimal cardRechargeMoney;

    /**
     * 账户剩余金额
     */
    @Column(name = "card_rest_money")
    private BigDecimal cardRestMoney;

    /**
     * 最近消费日期
     */
    @Column(name = "last_consume_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastConsumeTime;

    /**
     * 充值类别ID
     */
    @Column(name = "recharge_type_id")
    private Long rechargeTypeId;

    /**
     * 充值类别名称
     */
    @Column(name = "recharge_type_name")
    private String rechargeTypeName;

    /**
     * 类别 1:折扣卡类型/0:赠送卡类型
     */
    private Integer type;

    /**
     * 享受优惠
     */
    private BigDecimal discount;

    /**
     * 赠送卡赠送金额
     */
    @Column(name = "card_gift_money")
    private BigDecimal cardGiftMoney;

    /**
     * 门店ID
     */
    @Column(name = "store_id")
    private Long storeId;

    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;

    /**
     * 账户可用金额
     */
    @Column(name = "card_consume_money")
    private BigDecimal cardConsumeMoney;

    /**
     * 赠送卡可用金额
     */
    @Column(name = "gift_consume_money")
    private BigDecimal giftConsumeMoney;

    /**
     * 0:锁定/1:正常
     */
    private Integer state;

    /**
     * 账户到期时间
     */
    @Column(name = "end_time")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    /**
     * 修改人名称
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 修改人ID
     */
    @Column(name = "update_id")
    private Long updateId;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 账户ID
     */
    @Column(name = "account_id")
    private Long accountId;

    /**
     * 账户修改人名称
     */
    @Column(name = "modify_by")
    private String modifyBy;

    /**
     * 账户修改人ID
     */
    @Column(name = "modify_id")
    private Long modifyId;

    /**
     * 账户修改时间
     */
    @Column(name = "modify_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;

    /**
     * 新会员ID
     */
    @Column(name = "member_id_new")
    private Long memberIdNew;

    /**
     * 新会员名称
     */
    @Column(name = "member_name_new")
    private String memberNameNew;

    /**
     * 新会员卡
     */
    @Column(name = "card_new")
    private String cardNew;

    /**
     * 新充值单号
     */
    @Column(name = "recharge_num_new")
    private String rechargeNumNew;

    /**
     * 新账户充值金额
     */
    @Column(name = "card_recharge_money_new")
    private BigDecimal cardRechargeMoneyNew;

    /**
     * 新账户剩余金额
     */
    @Column(name = "card_rest_money_new")
    private BigDecimal cardRestMoneyNew;

    /**
     * 新最近消费日期
     */
    @Column(name = "last_consume_time_new")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastConsumeTimeNew;

    /**
     * 新充值类别ID
     */
    @Column(name = "recharge_type_id_new")
    private Long rechargeTypeIdNew;

    /**
     * 新充值类别名称
     */
    @Column(name = "recharge_type_name_new")
    private String rechargeTypeNameNew;

    /**
     * 新类别 1:折扣卡类型/0:赠送卡类型
     */
    @Column(name = "type_new")
    private Integer typeNew;

    /**
     * 新享受优惠
     */
    @Column(name = "discount_new")
    private BigDecimal discountNew;

    /**
     * 新赠送卡赠送金额
     */
    @Column(name = "card_gift_money_new")
    private BigDecimal cardGiftMoneyNew;

    /**
     * 新门店ID
     */
    @Column(name = "store_id_new")
    private Long storeIdNew;

    /**
     * 新门店名称
     */
    @Column(name = "store_name_new")
    private String storeNameNew;

    /**
     * 新账户可用金额
     */
    @Column(name = "card_consume_money_new")
    private BigDecimal cardConsumeMoneyNew;

    /**
     * 新赠送卡可用金额
     */
    @Column(name = "gift_consume_money_new")
    private BigDecimal giftConsumeMoneyNew;

    /**
     * 新0:锁定/1:正常
     */
    @Column(name = "state_new")
    private Integer stateNew;

    /**
     * 新账户到期时间
     */
    @Column(name = "end_time_new")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTimeNew;

    /**
     * 新修改人名称
     */
    @Column(name = "update_by_new")
    private String updateByNew;

    /**
     * 新修改人ID
     */
    @Column(name = "update_id_new")
    private Long updateIdNew;

    /**
     * 新修改时间
     */
    @Column(name = "update_time_new")
    private Date updateTimeNew;

    /**
     * 新账户ID
     */
    @Column(name = "account_id_new")
    private Long accountIdNew;

    /**
     * 账户剩余金额修改
     */
    @Column(name = "card_rest_money_modify")
    private BigDecimal cardRestMoneyModify;

    /**
     * 赠送卡赠送金额修改
     */
    @Column(name = "card_gift_money_modify")
    private BigDecimal cardGiftMoneyModify;

    /**
     * 账户可用金额修改
     */
    @Column(name = "card_consume_money_modify")
    private BigDecimal cardConsumeMoneyModify;

    /**
     * 赠送卡可用金额修改
     */
    @Column(name = "gift_consume_money_modify")
    private BigDecimal giftConsumeMoneyModify;

    private static final long serialVersionUID = 1L;


    /**
     * 修改说明
     */
    @Column(name = "explain_modify")
    private String explainModify;

    public String getExplainModify() {
        return explainModify;
    }

    public void setExplainModify(String explainModify) {
        this.explainModify = explainModify;
    }

    /**
     * 获取主键ID
     *
     * @return id - 主键ID
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键ID
     *
     * @param id 主键ID
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取账户修改单据号
     *
     * @return doc_num - 账户修改单据号
     */
    public String getDocNum() {
        return docNum;
    }

    /**
     * 设置账户修改单据号
     *
     * @param docNum 账户修改单据号
     */
    public void setDocNum(String docNum) {
        this.docNum = docNum;
    }

    /**
     * 获取会员ID
     *
     * @return member_id - 会员ID
     */
    public Long getMemberId() {
        return memberId;
    }

    /**
     * 设置会员ID
     *
     * @param memberId 会员ID
     */
    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    /**
     * 获取会员名称
     *
     * @return member_name - 会员名称
     */
    public String getMemberName() {
        return memberName;
    }

    /**
     * 设置会员名称
     *
     * @param memberName 会员名称
     */
    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    /**
     * 获取会员卡
     *
     * @return card - 会员卡
     */
    public String getCard() {
        return card;
    }

    /**
     * 设置会员卡
     *
     * @param card 会员卡
     */
    public void setCard(String card) {
        this.card = card;
    }

    /**
     * 获取充值单号
     *
     * @return recharge_num - 充值单号
     */
    public String getRechargeNum() {
        return rechargeNum;
    }

    /**
     * 设置充值单号
     *
     * @param rechargeNum 充值单号
     */
    public void setRechargeNum(String rechargeNum) {
        this.rechargeNum = rechargeNum;
    }

    /**
     * 获取账户充值金额
     *
     * @return card_recharge_money - 账户充值金额
     */
    public BigDecimal getCardRechargeMoney() {
        return cardRechargeMoney;
    }

    /**
     * 设置账户充值金额
     *
     * @param cardRechargeMoney 账户充值金额
     */
    public void setCardRechargeMoney(BigDecimal cardRechargeMoney) {
        this.cardRechargeMoney = cardRechargeMoney;
    }

    /**
     * 获取账户剩余金额
     *
     * @return card_rest_money - 账户剩余金额
     */
    public BigDecimal getCardRestMoney() {
        return cardRestMoney;
    }

    /**
     * 设置账户剩余金额
     *
     * @param cardRestMoney 账户剩余金额
     */
    public void setCardRestMoney(BigDecimal cardRestMoney) {
        this.cardRestMoney = cardRestMoney;
    }

    /**
     * 获取最近消费日期
     *
     * @return last_consume_time - 最近消费日期
     */
    public Date getLastConsumeTime() {
        return lastConsumeTime;
    }

    /**
     * 设置最近消费日期
     *
     * @param lastConsumeTime 最近消费日期
     */
    public void setLastConsumeTime(Date lastConsumeTime) {
        this.lastConsumeTime = lastConsumeTime;
    }

    /**
     * 获取充值类别ID
     *
     * @return recharge_type_id - 充值类别ID
     */
    public Long getRechargeTypeId() {
        return rechargeTypeId;
    }

    /**
     * 设置充值类别ID
     *
     * @param rechargeTypeId 充值类别ID
     */
    public void setRechargeTypeId(Long rechargeTypeId) {
        this.rechargeTypeId = rechargeTypeId;
    }

    /**
     * 获取充值类别名称
     *
     * @return recharge_type_name - 充值类别名称
     */
    public String getRechargeTypeName() {
        return rechargeTypeName;
    }

    /**
     * 设置充值类别名称
     *
     * @param rechargeTypeName 充值类别名称
     */
    public void setRechargeTypeName(String rechargeTypeName) {
        this.rechargeTypeName = rechargeTypeName;
    }

    /**
     * 获取类别 1:折扣卡类型/0:赠送卡类型
     *
     * @return type - 类别 1:折扣卡类型/0:赠送卡类型
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置类别 1:折扣卡类型/0:赠送卡类型
     *
     * @param type 类别 1:折扣卡类型/0:赠送卡类型
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取享受优惠
     *
     * @return discount - 享受优惠
     */
    public BigDecimal getDiscount() {
        return discount;
    }

    /**
     * 设置享受优惠
     *
     * @param discount 享受优惠
     */
    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    /**
     * 获取赠送卡赠送金额
     *
     * @return card_gift_money - 赠送卡赠送金额
     */
    public BigDecimal getCardGiftMoney() {
        return cardGiftMoney;
    }

    /**
     * 设置赠送卡赠送金额
     *
     * @param cardGiftMoney 赠送卡赠送金额
     */
    public void setCardGiftMoney(BigDecimal cardGiftMoney) {
        this.cardGiftMoney = cardGiftMoney;
    }

    /**
     * 获取门店ID
     *
     * @return store_id - 门店ID
     */
    public Long getStoreId() {
        return storeId;
    }

    /**
     * 设置门店ID
     *
     * @param storeId 门店ID
     */
    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    /**
     * 获取门店名称
     *
     * @return store_name - 门店名称
     */
    public String getStoreName() {
        return storeName;
    }

    /**
     * 设置门店名称
     *
     * @param storeName 门店名称
     */
    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    /**
     * 获取账户可用金额
     *
     * @return card_consume_money - 账户可用金额
     */
    public BigDecimal getCardConsumeMoney() {
        return cardConsumeMoney;
    }

    /**
     * 设置账户可用金额
     *
     * @param cardConsumeMoney 账户可用金额
     */
    public void setCardConsumeMoney(BigDecimal cardConsumeMoney) {
        this.cardConsumeMoney = cardConsumeMoney;
    }

    /**
     * 获取赠送卡可用金额
     *
     * @return gift_consume_money - 赠送卡可用金额
     */
    public BigDecimal getGiftConsumeMoney() {
        return giftConsumeMoney;
    }

    /**
     * 设置赠送卡可用金额
     *
     * @param giftConsumeMoney 赠送卡可用金额
     */
    public void setGiftConsumeMoney(BigDecimal giftConsumeMoney) {
        this.giftConsumeMoney = giftConsumeMoney;
    }

    /**
     * 获取0:锁定/1:正常
     *
     * @return state - 0:锁定/1:正常
     */
    public Integer getState() {
        return state;
    }

    /**
     * 设置0:锁定/1:正常
     *
     * @param state 0:锁定/1:正常
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * 获取账户到期时间
     *
     * @return end_time - 账户到期时间
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置账户到期时间
     *
     * @param endTime 账户到期时间
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取修改人名称
     *
     * @return update_by - 修改人名称
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置修改人名称
     *
     * @param updateBy 修改人名称
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取修改人ID
     *
     * @return update_id - 修改人ID
     */
    public Long getUpdateId() {
        return updateId;
    }

    /**
     * 设置修改人ID
     *
     * @param updateId 修改人ID
     */
    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    /**
     * 获取修改时间
     *
     * @return update_time - 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取账户ID
     *
     * @return account_id - 账户ID
     */
    public Long getAccountId() {
        return accountId;
    }

    /**
     * 设置账户ID
     *
     * @param accountId 账户ID
     */
    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    /**
     * 获取账户修改人名称
     *
     * @return modify_by - 账户修改人名称
     */
    public String getModifyBy() {
        return modifyBy;
    }

    /**
     * 设置账户修改人名称
     *
     * @param modifyBy 账户修改人名称
     */
    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    /**
     * 获取账户修改人ID
     *
     * @return modify_id - 账户修改人ID
     */
    public Long getModifyId() {
        return modifyId;
    }

    /**
     * 设置账户修改人ID
     *
     * @param modifyId 账户修改人ID
     */
    public void setModifyId(Long modifyId) {
        this.modifyId = modifyId;
    }

    /**
     * 获取账户修改时间
     *
     * @return modify_time - 账户修改时间
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * 设置账户修改时间
     *
     * @param modifyTime 账户修改时间
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * 获取新会员ID
     *
     * @return member_id_new - 新会员ID
     */
    public Long getMemberIdNew() {
        return memberIdNew;
    }

    /**
     * 设置新会员ID
     *
     * @param memberIdNew 新会员ID
     */
    public void setMemberIdNew(Long memberIdNew) {
        this.memberIdNew = memberIdNew;
    }

    /**
     * 获取新会员名称
     *
     * @return member_name_new - 新会员名称
     */
    public String getMemberNameNew() {
        return memberNameNew;
    }

    /**
     * 设置新会员名称
     *
     * @param memberNameNew 新会员名称
     */
    public void setMemberNameNew(String memberNameNew) {
        this.memberNameNew = memberNameNew;
    }

    /**
     * 获取新会员卡
     *
     * @return card_new - 新会员卡
     */
    public String getCardNew() {
        return cardNew;
    }

    /**
     * 设置新会员卡
     *
     * @param cardNew 新会员卡
     */
    public void setCardNew(String cardNew) {
        this.cardNew = cardNew;
    }

    /**
     * 获取新充值单号
     *
     * @return recharge_num_new - 新充值单号
     */
    public String getRechargeNumNew() {
        return rechargeNumNew;
    }

    /**
     * 设置新充值单号
     *
     * @param rechargeNumNew 新充值单号
     */
    public void setRechargeNumNew(String rechargeNumNew) {
        this.rechargeNumNew = rechargeNumNew;
    }

    /**
     * 获取新账户充值金额
     *
     * @return card_recharge_money_new - 新账户充值金额
     */
    public BigDecimal getCardRechargeMoneyNew() {
        return cardRechargeMoneyNew;
    }

    /**
     * 设置新账户充值金额
     *
     * @param cardRechargeMoneyNew 新账户充值金额
     */
    public void setCardRechargeMoneyNew(BigDecimal cardRechargeMoneyNew) {
        this.cardRechargeMoneyNew = cardRechargeMoneyNew;
    }

    /**
     * 获取新账户剩余金额
     *
     * @return card_rest_money_new - 新账户剩余金额
     */
    public BigDecimal getCardRestMoneyNew() {
        return cardRestMoneyNew;
    }

    /**
     * 设置新账户剩余金额
     *
     * @param cardRestMoneyNew 新账户剩余金额
     */
    public void setCardRestMoneyNew(BigDecimal cardRestMoneyNew) {
        this.cardRestMoneyNew = cardRestMoneyNew;
    }

    /**
     * 获取新最近消费日期
     *
     * @return last_consume_time_new - 新最近消费日期
     */
    public Date getLastConsumeTimeNew() {
        return lastConsumeTimeNew;
    }

    /**
     * 设置新最近消费日期
     *
     * @param lastConsumeTimeNew 新最近消费日期
     */
    public void setLastConsumeTimeNew(Date lastConsumeTimeNew) {
        this.lastConsumeTimeNew = lastConsumeTimeNew;
    }

    /**
     * 获取新充值类别ID
     *
     * @return recharge_type_id_new - 新充值类别ID
     */
    public Long getRechargeTypeIdNew() {
        return rechargeTypeIdNew;
    }

    /**
     * 设置新充值类别ID
     *
     * @param rechargeTypeIdNew 新充值类别ID
     */
    public void setRechargeTypeIdNew(Long rechargeTypeIdNew) {
        this.rechargeTypeIdNew = rechargeTypeIdNew;
    }

    /**
     * 获取新充值类别名称
     *
     * @return recharge_type_name_new - 新充值类别名称
     */
    public String getRechargeTypeNameNew() {
        return rechargeTypeNameNew;
    }

    /**
     * 设置新充值类别名称
     *
     * @param rechargeTypeNameNew 新充值类别名称
     */
    public void setRechargeTypeNameNew(String rechargeTypeNameNew) {
        this.rechargeTypeNameNew = rechargeTypeNameNew;
    }

    /**
     * 获取新类别 1:折扣卡类型/0:赠送卡类型
     *
     * @return type_new - 新类别 1:折扣卡类型/0:赠送卡类型
     */
    public Integer getTypeNew() {
        return typeNew;
    }

    /**
     * 设置新类别 1:折扣卡类型/0:赠送卡类型
     *
     * @param typeNew 新类别 1:折扣卡类型/0:赠送卡类型
     */
    public void setTypeNew(Integer typeNew) {
        this.typeNew = typeNew;
    }

    /**
     * 获取新享受优惠
     *
     * @return discount_new - 新享受优惠
     */
    public BigDecimal getDiscountNew() {
        return discountNew;
    }

    /**
     * 设置新享受优惠
     *
     * @param discountNew 新享受优惠
     */
    public void setDiscountNew(BigDecimal discountNew) {
        this.discountNew = discountNew;
    }

    /**
     * 获取新赠送卡赠送金额
     *
     * @return card_gift_money_new - 新赠送卡赠送金额
     */
    public BigDecimal getCardGiftMoneyNew() {
        return cardGiftMoneyNew;
    }

    /**
     * 设置新赠送卡赠送金额
     *
     * @param cardGiftMoneyNew 新赠送卡赠送金额
     */
    public void setCardGiftMoneyNew(BigDecimal cardGiftMoneyNew) {
        this.cardGiftMoneyNew = cardGiftMoneyNew;
    }

    /**
     * 获取新门店ID
     *
     * @return store_id_new - 新门店ID
     */
    public Long getStoreIdNew() {
        return storeIdNew;
    }

    /**
     * 设置新门店ID
     *
     * @param storeIdNew 新门店ID
     */
    public void setStoreIdNew(Long storeIdNew) {
        this.storeIdNew = storeIdNew;
    }

    /**
     * 获取新门店名称
     *
     * @return store_name_new - 新门店名称
     */
    public String getStoreNameNew() {
        return storeNameNew;
    }

    /**
     * 设置新门店名称
     *
     * @param storeNameNew 新门店名称
     */
    public void setStoreNameNew(String storeNameNew) {
        this.storeNameNew = storeNameNew;
    }

    /**
     * 获取新账户可用金额
     *
     * @return card_consume_money_new - 新账户可用金额
     */
    public BigDecimal getCardConsumeMoneyNew() {
        return cardConsumeMoneyNew;
    }

    /**
     * 设置新账户可用金额
     *
     * @param cardConsumeMoneyNew 新账户可用金额
     */
    public void setCardConsumeMoneyNew(BigDecimal cardConsumeMoneyNew) {
        this.cardConsumeMoneyNew = cardConsumeMoneyNew;
    }

    /**
     * 获取新赠送卡可用金额
     *
     * @return gift_consume_money_new - 新赠送卡可用金额
     */
    public BigDecimal getGiftConsumeMoneyNew() {
        return giftConsumeMoneyNew;
    }

    /**
     * 设置新赠送卡可用金额
     *
     * @param giftConsumeMoneyNew 新赠送卡可用金额
     */
    public void setGiftConsumeMoneyNew(BigDecimal giftConsumeMoneyNew) {
        this.giftConsumeMoneyNew = giftConsumeMoneyNew;
    }

    /**
     * 获取新0:锁定/1:正常
     *
     * @return state_new - 新0:锁定/1:正常
     */
    public Integer getStateNew() {
        return stateNew;
    }

    /**
     * 设置新0:锁定/1:正常
     *
     * @param stateNew 新0:锁定/1:正常
     */
    public void setStateNew(Integer stateNew) {
        this.stateNew = stateNew;
    }

    /**
     * 获取新账户到期时间
     *
     * @return end_time_new - 新账户到期时间
     */
    public Date getEndTimeNew() {
        return endTimeNew;
    }

    /**
     * 设置新账户到期时间
     *
     * @param endTimeNew 新账户到期时间
     */
    public void setEndTimeNew(Date endTimeNew) {
        this.endTimeNew = endTimeNew;
    }

    /**
     * 获取新修改人名称
     *
     * @return update_by_new - 新修改人名称
     */
    public String getUpdateByNew() {
        return updateByNew;
    }

    /**
     * 设置新修改人名称
     *
     * @param updateByNew 新修改人名称
     */
    public void setUpdateByNew(String updateByNew) {
        this.updateByNew = updateByNew;
    }

    /**
     * 获取新修改人ID
     *
     * @return update_id_new - 新修改人ID
     */
    public Long getUpdateIdNew() {
        return updateIdNew;
    }

    /**
     * 设置新修改人ID
     *
     * @param updateIdNew 新修改人ID
     */
    public void setUpdateIdNew(Long updateIdNew) {
        this.updateIdNew = updateIdNew;
    }

    /**
     * 获取新修改时间
     *
     * @return update_time_new - 新修改时间
     */
    public Date getUpdateTimeNew() {
        return updateTimeNew;
    }

    /**
     * 设置新修改时间
     *
     * @param updateTimeNew 新修改时间
     */
    public void setUpdateTimeNew(Date updateTimeNew) {
        this.updateTimeNew = updateTimeNew;
    }

    /**
     * 获取新账户ID
     *
     * @return account_id_new - 新账户ID
     */
    public Long getAccountIdNew() {
        return accountIdNew;
    }

    /**
     * 设置新账户ID
     *
     * @param accountIdNew 新账户ID
     */
    public void setAccountIdNew(Long accountIdNew) {
        this.accountIdNew = accountIdNew;
    }

    /**
     * 获取账户剩余金额修改
     *
     * @return card_rest_money_modify - 账户剩余金额修改
     */
    public BigDecimal getCardRestMoneyModify() {
        return cardRestMoneyModify;
    }

    /**
     * 设置账户剩余金额修改
     *
     * @param cardRestMoneyModify 账户剩余金额修改
     */
    public void setCardRestMoneyModify(BigDecimal cardRestMoneyModify) {
        this.cardRestMoneyModify = cardRestMoneyModify;
    }

    /**
     * 获取赠送卡赠送金额修改
     *
     * @return card_gift_money_modify - 赠送卡赠送金额修改
     */
    public BigDecimal getCardGiftMoneyModify() {
        return cardGiftMoneyModify;
    }

    /**
     * 设置赠送卡赠送金额修改
     *
     * @param cardGiftMoneyModify 赠送卡赠送金额修改
     */
    public void setCardGiftMoneyModify(BigDecimal cardGiftMoneyModify) {
        this.cardGiftMoneyModify = cardGiftMoneyModify;
    }

    /**
     * 获取账户可用金额修改
     *
     * @return card_consume_money_modify - 账户可用金额修改
     */
    public BigDecimal getCardConsumeMoneyModify() {
        return cardConsumeMoneyModify;
    }

    /**
     * 设置账户可用金额修改
     *
     * @param cardConsumeMoneyModify 账户可用金额修改
     */
    public void setCardConsumeMoneyModify(BigDecimal cardConsumeMoneyModify) {
        this.cardConsumeMoneyModify = cardConsumeMoneyModify;
    }

    /**
     * 获取赠送卡可用金额修改
     *
     * @return gift_consume_money_modify - 赠送卡可用金额修改
     */
    public BigDecimal getGiftConsumeMoneyModify() {
        return giftConsumeMoneyModify;
    }

    /**
     * 设置赠送卡可用金额修改
     *
     * @param giftConsumeMoneyModify 赠送卡可用金额修改
     */
    public void setGiftConsumeMoneyModify(BigDecimal giftConsumeMoneyModify) {
        this.giftConsumeMoneyModify = giftConsumeMoneyModify;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ModifyRechargeRecord other = (ModifyRechargeRecord) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDocNum() == null ? other.getDocNum() == null : this.getDocNum().equals(other.getDocNum()))
            && (this.getMemberId() == null ? other.getMemberId() == null : this.getMemberId().equals(other.getMemberId()))
            && (this.getMemberName() == null ? other.getMemberName() == null : this.getMemberName().equals(other.getMemberName()))
            && (this.getCard() == null ? other.getCard() == null : this.getCard().equals(other.getCard()))
            && (this.getRechargeNum() == null ? other.getRechargeNum() == null : this.getRechargeNum().equals(other.getRechargeNum()))
            && (this.getCardRechargeMoney() == null ? other.getCardRechargeMoney() == null : this.getCardRechargeMoney().equals(other.getCardRechargeMoney()))
            && (this.getCardRestMoney() == null ? other.getCardRestMoney() == null : this.getCardRestMoney().equals(other.getCardRestMoney()))
            && (this.getLastConsumeTime() == null ? other.getLastConsumeTime() == null : this.getLastConsumeTime().equals(other.getLastConsumeTime()))
            && (this.getRechargeTypeId() == null ? other.getRechargeTypeId() == null : this.getRechargeTypeId().equals(other.getRechargeTypeId()))
            && (this.getRechargeTypeName() == null ? other.getRechargeTypeName() == null : this.getRechargeTypeName().equals(other.getRechargeTypeName()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getDiscount() == null ? other.getDiscount() == null : this.getDiscount().equals(other.getDiscount()))
            && (this.getCardGiftMoney() == null ? other.getCardGiftMoney() == null : this.getCardGiftMoney().equals(other.getCardGiftMoney()))
            && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
            && (this.getStoreName() == null ? other.getStoreName() == null : this.getStoreName().equals(other.getStoreName()))
            && (this.getCardConsumeMoney() == null ? other.getCardConsumeMoney() == null : this.getCardConsumeMoney().equals(other.getCardConsumeMoney()))
            && (this.getGiftConsumeMoney() == null ? other.getGiftConsumeMoney() == null : this.getGiftConsumeMoney().equals(other.getGiftConsumeMoney()))
            && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
            && (this.getEndTime() == null ? other.getEndTime() == null : this.getEndTime().equals(other.getEndTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateId() == null ? other.getUpdateId() == null : this.getUpdateId().equals(other.getUpdateId()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getAccountId() == null ? other.getAccountId() == null : this.getAccountId().equals(other.getAccountId()))
            && (this.getModifyBy() == null ? other.getModifyBy() == null : this.getModifyBy().equals(other.getModifyBy()))
            && (this.getModifyId() == null ? other.getModifyId() == null : this.getModifyId().equals(other.getModifyId()))
            && (this.getModifyTime() == null ? other.getModifyTime() == null : this.getModifyTime().equals(other.getModifyTime()))
            && (this.getMemberIdNew() == null ? other.getMemberIdNew() == null : this.getMemberIdNew().equals(other.getMemberIdNew()))
            && (this.getMemberNameNew() == null ? other.getMemberNameNew() == null : this.getMemberNameNew().equals(other.getMemberNameNew()))
            && (this.getCardNew() == null ? other.getCardNew() == null : this.getCardNew().equals(other.getCardNew()))
            && (this.getRechargeNumNew() == null ? other.getRechargeNumNew() == null : this.getRechargeNumNew().equals(other.getRechargeNumNew()))
            && (this.getCardRechargeMoneyNew() == null ? other.getCardRechargeMoneyNew() == null : this.getCardRechargeMoneyNew().equals(other.getCardRechargeMoneyNew()))
            && (this.getCardRestMoneyNew() == null ? other.getCardRestMoneyNew() == null : this.getCardRestMoneyNew().equals(other.getCardRestMoneyNew()))
            && (this.getLastConsumeTimeNew() == null ? other.getLastConsumeTimeNew() == null : this.getLastConsumeTimeNew().equals(other.getLastConsumeTimeNew()))
            && (this.getRechargeTypeIdNew() == null ? other.getRechargeTypeIdNew() == null : this.getRechargeTypeIdNew().equals(other.getRechargeTypeIdNew()))
            && (this.getRechargeTypeNameNew() == null ? other.getRechargeTypeNameNew() == null : this.getRechargeTypeNameNew().equals(other.getRechargeTypeNameNew()))
            && (this.getTypeNew() == null ? other.getTypeNew() == null : this.getTypeNew().equals(other.getTypeNew()))
            && (this.getDiscountNew() == null ? other.getDiscountNew() == null : this.getDiscountNew().equals(other.getDiscountNew()))
            && (this.getCardGiftMoneyNew() == null ? other.getCardGiftMoneyNew() == null : this.getCardGiftMoneyNew().equals(other.getCardGiftMoneyNew()))
            && (this.getStoreIdNew() == null ? other.getStoreIdNew() == null : this.getStoreIdNew().equals(other.getStoreIdNew()))
            && (this.getStoreNameNew() == null ? other.getStoreNameNew() == null : this.getStoreNameNew().equals(other.getStoreNameNew()))
            && (this.getCardConsumeMoneyNew() == null ? other.getCardConsumeMoneyNew() == null : this.getCardConsumeMoneyNew().equals(other.getCardConsumeMoneyNew()))
            && (this.getGiftConsumeMoneyNew() == null ? other.getGiftConsumeMoneyNew() == null : this.getGiftConsumeMoneyNew().equals(other.getGiftConsumeMoneyNew()))
            && (this.getStateNew() == null ? other.getStateNew() == null : this.getStateNew().equals(other.getStateNew()))
            && (this.getEndTimeNew() == null ? other.getEndTimeNew() == null : this.getEndTimeNew().equals(other.getEndTimeNew()))
            && (this.getUpdateByNew() == null ? other.getUpdateByNew() == null : this.getUpdateByNew().equals(other.getUpdateByNew()))
            && (this.getUpdateIdNew() == null ? other.getUpdateIdNew() == null : this.getUpdateIdNew().equals(other.getUpdateIdNew()))
            && (this.getUpdateTimeNew() == null ? other.getUpdateTimeNew() == null : this.getUpdateTimeNew().equals(other.getUpdateTimeNew()))
            && (this.getAccountIdNew() == null ? other.getAccountIdNew() == null : this.getAccountIdNew().equals(other.getAccountIdNew()))
            && (this.getCardRestMoneyModify() == null ? other.getCardRestMoneyModify() == null : this.getCardRestMoneyModify().equals(other.getCardRestMoneyModify()))
            && (this.getCardGiftMoneyModify() == null ? other.getCardGiftMoneyModify() == null : this.getCardGiftMoneyModify().equals(other.getCardGiftMoneyModify()))
            && (this.getCardConsumeMoneyModify() == null ? other.getCardConsumeMoneyModify() == null : this.getCardConsumeMoneyModify().equals(other.getCardConsumeMoneyModify()))
            && (this.getGiftConsumeMoneyModify() == null ? other.getGiftConsumeMoneyModify() == null : this.getGiftConsumeMoneyModify().equals(other.getGiftConsumeMoneyModify()))
            && (this.getExplainModify() == null ? other.getExplainModify() == null : this.getExplainModify().equals(other.getExplainModify()));

    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDocNum() == null) ? 0 : getDocNum().hashCode());
        result = prime * result + ((getMemberId() == null) ? 0 : getMemberId().hashCode());
        result = prime * result + ((getMemberName() == null) ? 0 : getMemberName().hashCode());
        result = prime * result + ((getCard() == null) ? 0 : getCard().hashCode());
        result = prime * result + ((getRechargeNum() == null) ? 0 : getRechargeNum().hashCode());
        result = prime * result + ((getCardRechargeMoney() == null) ? 0 : getCardRechargeMoney().hashCode());
        result = prime * result + ((getCardRestMoney() == null) ? 0 : getCardRestMoney().hashCode());
        result = prime * result + ((getLastConsumeTime() == null) ? 0 : getLastConsumeTime().hashCode());
        result = prime * result + ((getRechargeTypeId() == null) ? 0 : getRechargeTypeId().hashCode());
        result = prime * result + ((getRechargeTypeName() == null) ? 0 : getRechargeTypeName().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getDiscount() == null) ? 0 : getDiscount().hashCode());
        result = prime * result + ((getCardGiftMoney() == null) ? 0 : getCardGiftMoney().hashCode());
        result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
        result = prime * result + ((getStoreName() == null) ? 0 : getStoreName().hashCode());
        result = prime * result + ((getCardConsumeMoney() == null) ? 0 : getCardConsumeMoney().hashCode());
        result = prime * result + ((getGiftConsumeMoney() == null) ? 0 : getGiftConsumeMoney().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getEndTime() == null) ? 0 : getEndTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateId() == null) ? 0 : getUpdateId().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getAccountId() == null) ? 0 : getAccountId().hashCode());
        result = prime * result + ((getModifyBy() == null) ? 0 : getModifyBy().hashCode());
        result = prime * result + ((getModifyId() == null) ? 0 : getModifyId().hashCode());
        result = prime * result + ((getModifyTime() == null) ? 0 : getModifyTime().hashCode());
        result = prime * result + ((getMemberIdNew() == null) ? 0 : getMemberIdNew().hashCode());
        result = prime * result + ((getMemberNameNew() == null) ? 0 : getMemberNameNew().hashCode());
        result = prime * result + ((getCardNew() == null) ? 0 : getCardNew().hashCode());
        result = prime * result + ((getRechargeNumNew() == null) ? 0 : getRechargeNumNew().hashCode());
        result = prime * result + ((getCardRechargeMoneyNew() == null) ? 0 : getCardRechargeMoneyNew().hashCode());
        result = prime * result + ((getCardRestMoneyNew() == null) ? 0 : getCardRestMoneyNew().hashCode());
        result = prime * result + ((getLastConsumeTimeNew() == null) ? 0 : getLastConsumeTimeNew().hashCode());
        result = prime * result + ((getRechargeTypeIdNew() == null) ? 0 : getRechargeTypeIdNew().hashCode());
        result = prime * result + ((getRechargeTypeNameNew() == null) ? 0 : getRechargeTypeNameNew().hashCode());
        result = prime * result + ((getTypeNew() == null) ? 0 : getTypeNew().hashCode());
        result = prime * result + ((getDiscountNew() == null) ? 0 : getDiscountNew().hashCode());
        result = prime * result + ((getCardGiftMoneyNew() == null) ? 0 : getCardGiftMoneyNew().hashCode());
        result = prime * result + ((getStoreIdNew() == null) ? 0 : getStoreIdNew().hashCode());
        result = prime * result + ((getStoreNameNew() == null) ? 0 : getStoreNameNew().hashCode());
        result = prime * result + ((getCardConsumeMoneyNew() == null) ? 0 : getCardConsumeMoneyNew().hashCode());
        result = prime * result + ((getGiftConsumeMoneyNew() == null) ? 0 : getGiftConsumeMoneyNew().hashCode());
        result = prime * result + ((getStateNew() == null) ? 0 : getStateNew().hashCode());
        result = prime * result + ((getEndTimeNew() == null) ? 0 : getEndTimeNew().hashCode());
        result = prime * result + ((getUpdateByNew() == null) ? 0 : getUpdateByNew().hashCode());
        result = prime * result + ((getUpdateIdNew() == null) ? 0 : getUpdateIdNew().hashCode());
        result = prime * result + ((getUpdateTimeNew() == null) ? 0 : getUpdateTimeNew().hashCode());
        result = prime * result + ((getAccountIdNew() == null) ? 0 : getAccountIdNew().hashCode());
        result = prime * result + ((getCardRestMoneyModify() == null) ? 0 : getCardRestMoneyModify().hashCode());
        result = prime * result + ((getCardGiftMoneyModify() == null) ? 0 : getCardGiftMoneyModify().hashCode());
        result = prime * result + ((getCardConsumeMoneyModify() == null) ? 0 : getCardConsumeMoneyModify().hashCode());
        result = prime * result + ((getGiftConsumeMoneyModify() == null) ? 0 : getGiftConsumeMoneyModify().hashCode());
        result = prime * result + ((getExplainModify() == null) ? 0 : getExplainModify().hashCode());

        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", docNum=").append(docNum);
        sb.append(", memberId=").append(memberId);
        sb.append(", memberName=").append(memberName);
        sb.append(", card=").append(card);
        sb.append(", rechargeNum=").append(rechargeNum);
        sb.append(", cardRechargeMoney=").append(cardRechargeMoney);
        sb.append(", cardRestMoney=").append(cardRestMoney);
        sb.append(", lastConsumeTime=").append(lastConsumeTime);
        sb.append(", rechargeTypeId=").append(rechargeTypeId);
        sb.append(", rechargeTypeName=").append(rechargeTypeName);
        sb.append(", type=").append(type);
        sb.append(", discount=").append(discount);
        sb.append(", cardGiftMoney=").append(cardGiftMoney);
        sb.append(", storeId=").append(storeId);
        sb.append(", storeName=").append(storeName);
        sb.append(", cardConsumeMoney=").append(cardConsumeMoney);
        sb.append(", giftConsumeMoney=").append(giftConsumeMoney);
        sb.append(", state=").append(state);
        sb.append(", endTime=").append(endTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateId=").append(updateId);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", accountId=").append(accountId);
        sb.append(", modifyBy=").append(modifyBy);
        sb.append(", modifyId=").append(modifyId);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", memberIdNew=").append(memberIdNew);
        sb.append(", memberNameNew=").append(memberNameNew);
        sb.append(", cardNew=").append(cardNew);
        sb.append(", rechargeNumNew=").append(rechargeNumNew);
        sb.append(", cardRechargeMoneyNew=").append(cardRechargeMoneyNew);
        sb.append(", cardRestMoneyNew=").append(cardRestMoneyNew);
        sb.append(", lastConsumeTimeNew=").append(lastConsumeTimeNew);
        sb.append(", rechargeTypeIdNew=").append(rechargeTypeIdNew);
        sb.append(", rechargeTypeNameNew=").append(rechargeTypeNameNew);
        sb.append(", typeNew=").append(typeNew);
        sb.append(", discountNew=").append(discountNew);
        sb.append(", cardGiftMoneyNew=").append(cardGiftMoneyNew);
        sb.append(", storeIdNew=").append(storeIdNew);
        sb.append(", storeNameNew=").append(storeNameNew);
        sb.append(", cardConsumeMoneyNew=").append(cardConsumeMoneyNew);
        sb.append(", giftConsumeMoneyNew=").append(giftConsumeMoneyNew);
        sb.append(", stateNew=").append(stateNew);
        sb.append(", endTimeNew=").append(endTimeNew);
        sb.append(", updateByNew=").append(updateByNew);
        sb.append(", updateIdNew=").append(updateIdNew);
        sb.append(", updateTimeNew=").append(updateTimeNew);
        sb.append(", accountIdNew=").append(accountIdNew);
        sb.append(", cardRestMoneyModify=").append(cardRestMoneyModify);
        sb.append(", cardGiftMoneyModify=").append(cardGiftMoneyModify);
        sb.append(", cardConsumeMoneyModify=").append(cardConsumeMoneyModify);
        sb.append(", giftConsumeMoneyModify=").append(giftConsumeMoneyModify);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", explainModify=").append(explainModify);
        sb.append("]");
        return sb.toString();


    }
}