package com.ssm.manage.response;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayListVo {
    /**
     * 主键ID
     */
    @Id
    private Long id;

    /**
     * 单据ID
     */
    @Column(name = "doc_id")
    private String docId;

    /**
     * 支付方式ID
     */
    @Column(name = "pay_id")
    private Long payId;

    /**
     * 支付方式名称
     */
    @Column(name = "pay_name")
    private String payName;

    /**
     * 支付金额
     */
    @Column(name = "pay_money")
    private BigDecimal payMoney;
    /**
     * 门店Id
     */
    @Column(name = "store_id")
    private Long storeId;

    @Column(name = "pay_date")
    private Date payDate;

    /**
     * 单据类别
     */
    private String type;

    @Transient
    private BigDecimal payMoneyAmount;
}
