package com.ssm.manage.entity;

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

/**
 * 收银单充值卡支付明细
 */
@Table(name = "cash_payment")
public class CashPayment {

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

    @Column(name = "payment_type")
    private String paymentType;

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

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

    public Integer getId() {
        return id;
    }

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

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public BigDecimal getPaymentMoney() {
        return paymentMoney;
    }

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

    public Long getCashId() {
        return cashId;
    }

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