diff --git a/AstuteSystem/src/main/java/com/astute/model/InvoicePayment.java b/AstuteSystem/src/main/java/com/astute/model/InvoicePayment.java new file mode 100644 index 0000000..db1d5aa --- /dev/null +++ b/AstuteSystem/src/main/java/com/astute/model/InvoicePayment.java @@ -0,0 +1,71 @@ +package com.astute.model; + +import java.sql.Date; + +public class InvoicePayment { + String invoiceNum; + int invoicePaymentId; + int paymentTypeId; + String paymentType; + Date paymentDate; + + + Double invoiceAmount; + + public InvoicePayment(String invoiceNum, int invoicePaymentId, int paymentTypeId, String paymentType, Date paymentDate, Double invoiceAmount) { + this.invoiceNum = invoiceNum; + this.invoicePaymentId = invoicePaymentId; + this.paymentTypeId = paymentTypeId; + this.paymentType = paymentType; + this.paymentDate = paymentDate; + this.invoiceAmount = invoiceAmount; + } + + public String getInvoiceNum() { + return invoiceNum; + } + + public void setInvoiceNum(String invoiceNum) { + this.invoiceNum = invoiceNum; + } + + public int getInvoicePaymentId() { + return invoicePaymentId; + } + + public void setInvoicePaymentId(int invoicePaymentId) { + this.invoicePaymentId = invoicePaymentId; + } + + public int getPaymentTypeId() { + return paymentTypeId; + } + + public void setPaymentTypeId(int paymentTypeId) { + this.paymentTypeId = paymentTypeId; + } + + public String getPaymentType() { + return paymentType; + } + + public void setPaymentType(String paymentType) { + this.paymentType = paymentType; + } + + public Date getPaymentDate() { + return paymentDate; + } + + public void setPaymentDate(Date paymentDate) { + this.paymentDate = paymentDate; + } + + public Double getInvoiceAmount() { + return invoiceAmount; + } + + public void setInvoiceAmount(Double invoiceAmount) { + this.invoiceAmount = invoiceAmount; + } +}