package cn.ysk.cashier.vo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author lyf
 */
@Data
public class PurveyorTransactVO {
    /**
     * 供货商id
     */
    private Integer id;
    /**
     * 供货商名称
     */
    private String purveyorName;
    private String purveyorTelephone;
    private String address;
    private String remark;
    /**
     * 上笔进货日期
     */
    private Long lastTransactAt;
    /**
     * 剩余付款金额
     */
    private BigDecimal waitAmount;
    /**
     *待付款笔数
     */
    private Long waitCount;
    /**
     * 0.待支付 1.已完结
     */
    private Integer type;

    public PurveyorTransactVO(Integer id, String name, String telephone, String address, String remark, Long lastTransactAt, BigDecimal waitAmount, Long waitCount) {
        this.id = id;
        this.purveyorName = name;
        this.purveyorTelephone = telephone;
        this.address = address;
        this.remark = remark;
        this.lastTransactAt = lastTransactAt;
        this.waitAmount = waitAmount;
        this.waitCount = waitCount;
    }
}
