package com.erp.finance.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 应付账款响应
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AccountsPayableResponse {
    private Long id;
    private String apNo;
    private String purchaseOrderNo;
    private Long purchaseOrderId;
    private Long supplierId;
    private String supplierName;
    private BigDecimal totalAmount;
    private BigDecimal inboundAmount;
    private BigDecimal paidAmount;
    private BigDecimal unpaidAmount;
    private String currency;
    private String paymentMethod;
    private LocalDate dueDate;
    private LocalDate paidDate;
    private String status;
    private String inboundStatus;
    private String remark;
    private LocalDateTime createTime;
}
