package com.ssm.manage.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 收银单充值卡支付明细
 */
@Table(name = "card_payment")
public class CardPayment  implements Serializable {

    /**
     * 主键ID
     */
    @Id
    private Integer id;

    @Column(name = "recharge_type_num")
    private String rechargeTypeNum;

    @Column(name = "recharge_type_name")
    private String RechargeTypeName;

    @Column(name = "type")
    private int type;

    @Column(name = "payment_money")
    private BigDecimal paymentMoney;

    @Column(name = "balance")
    private BigDecimal balance;

    @Column(name = "cash_id")
    private Long cashId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRechargeTypeNum() {
        return rechargeTypeNum;
    }

    public void setRechargeTypeNum(String rechargeTypeNum) {
        this.rechargeTypeNum = rechargeTypeNum;
    }

    public String getRechargeTypeName() {
        return RechargeTypeName;
    }

    public void setRechargeTypeName(String rechargeTypeName) {
        RechargeTypeName = rechargeTypeName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigDecimal getPaymentMoney() {
        return paymentMoney;
    }

    public void setPaymentMoney(BigDecimal paymentMoney) {
        this.paymentMoney = paymentMoney;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Long getCashId() {
        return cashId;
    }

    public void setCashId(Long cashId) {
        this.cashId = cashId;
    }
}
