Add files via upload

This commit is contained in:
gopi17701 2018-07-24 22:08:17 -04:00 committed by GitHub
parent 496c8a6fa9
commit 1ce5562eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 699 additions and 0 deletions

View File

@ -0,0 +1,59 @@
package com.astute.model;
import java.sql.Date;
public class ChangeOrder {
int changeOrderNum;
String poNum;
Date changeOrderDate;
Double changeOrderAmt;
String description;
public ChangeOrder(int changeOrderNum, String poNum, Date changeOrderDate, Double changeOrderAmt, String description) {
this.changeOrderNum = changeOrderNum;
this.poNum = poNum;
this.changeOrderDate = changeOrderDate;
this.changeOrderAmt = changeOrderAmt;
this.description = description;
}
public int getChangeOrderNum() {
return changeOrderNum;
}
public void setChangeOrderNum(int changeOrderNum) {
this.changeOrderNum = changeOrderNum;
}
public String getPoNum() {
return poNum;
}
public void setPoNum(String poNum) {
this.poNum = poNum;
}
public Date getChangeOrderDate() {
return changeOrderDate;
}
public void setChangeOrderDate(Date changeOrderDate) {
this.changeOrderDate = changeOrderDate;
}
public Double getChangeOrderAmt() {
return changeOrderAmt;
}
public void setChangeOrderAmt(Double changeOrderAmt) {
this.changeOrderAmt = changeOrderAmt;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}

View File

@ -0,0 +1,129 @@
package com.astute.model;
import java.util.Date;
public class Customer {
int customerId;
String customerName;
String billToDept;
String add1;
String add2;
String city;
String state;
int zip;
int ziplast4;
String email;
int phone;
int fax;
public Customer(int customerId, String customerName, String billToDept, String add1, String add2, String city, String state, int zip, int ziplast4, String email, int phone, int fax) {
this.customerId = customerId;
this.customerName = customerName;
this.billToDept = billToDept;
this.add1 = add1;
this.add2 = add2;
this.city = city;
this.state = state;
this.zip = zip;
this.ziplast4 = ziplast4;
this.email = email;
this.phone = phone;
this.fax = fax;
}
public int getCustomerId() {
return customerId;
}
public void setCustomerId(int customerId) {
this.customerId = customerId;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public String getBillToDept() {
return billToDept;
}
public void setBillToDept(String billToDept) {
this.billToDept = billToDept;
}
public String getAdd1() {
return add1;
}
public void setAdd1(String add1) {
this.add1 = add1;
}
public String getAdd2() {
return add2;
}
public void setAdd2(String add2) {
this.add2 = add2;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public int getZip() {
return zip;
}
public void setZip(int zip) {
this.zip = zip;
}
public int getZiplast4() {
return ziplast4;
}
public void setZiplast4(int ziplast4) {
this.ziplast4 = ziplast4;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public int getPhone() {
return phone;
}
public void setPhone(int phone) {
this.phone = phone;
}
public int getFax() {
return fax;
}
public void setFax(int fax) {
this.fax = fax;
}
}

View File

@ -0,0 +1,71 @@
package com.astute.model;
import java.util.List;
public class GeneratedInvoice {
Invoice invoice;
List<InvoiceDetail> invoiceDetail;
PO po;
Customer customer;
Double previouslyPaidAmt;
Double balanceToBeBilled;
public GeneratedInvoice(Invoice invoice, List<InvoiceDetail> invoiceDetail, PO po, Customer customer, Double previouslyPaidAmt, Double balanceToBeBilled) {
this.invoice = invoice;
this.invoiceDetail = invoiceDetail;
this.po = po;
this.customer = customer;
this.previouslyPaidAmt = previouslyPaidAmt;
this.balanceToBeBilled = balanceToBeBilled;
}
public Invoice getInvoice() {
return invoice;
}
public void setInvoice(Invoice invoice) {
this.invoice = invoice;
}
public List<InvoiceDetail> getInvoiceDetail() {
return invoiceDetail;
}
public void setInvoiceDetail(List<InvoiceDetail> invoiceDetail) {
this.invoiceDetail = invoiceDetail;
}
public PO getPo() {
return po;
}
public void setPo(PO po) {
this.po = po;
}
public Customer getCustomer() {
return customer;
}
public void setCustomer(Customer customer) {
this.customer = customer;
}
public Double getPreviouslyPaidAmt() {
return previouslyPaidAmt;
}
public void setPreviouslyPaidAmt(Double previouslyPaidAmt) {
this.previouslyPaidAmt = previouslyPaidAmt;
}
public Double getBalanceToBeBilled() {
return balanceToBeBilled;
}
public void setBalanceToBeBilled(Double balanceToBeBilled) {
this.balanceToBeBilled = balanceToBeBilled;
}
}

View File

@ -0,0 +1,99 @@
package com.astute.model;
import java.util.Date;
public class Invoice {
String invoiceNumber;
Date invoiceDate;
String poNum;
String changeOrderNum;
int pmtStatus;
Double billAmt;
String specialNotes;
String certification;
int invoiceStatus;
public Invoice(String invoiceNumber, Date invoiceDate, String poNum, int pmtStatus, Double billAmt, String specialNotes, String certification, int invoiceStatus) {
this.invoiceNumber = invoiceNumber;
this.invoiceDate = invoiceDate;
this.poNum = poNum;
this.pmtStatus = pmtStatus;
this.billAmt = billAmt;
this.specialNotes = specialNotes;
this.certification = certification;
this.invoiceStatus = invoiceStatus;
}
public String getInvoiceNumber() {
return invoiceNumber;
}
public void setInvoiceNumber(String invoiceNumber) {
this.invoiceNumber = invoiceNumber;
}
public Date getInvoiceDate() {
return invoiceDate;
}
public void setInvoiceDate(Date invoiceDate) {
this.invoiceDate = invoiceDate;
}
public String getPoNum() {
return poNum;
}
public void setPoNum(String poNum) {
this.poNum = poNum;
}
public String getChangeOrderNum() {
return changeOrderNum;
}
public void setChangeOrderNum(String changeOrderNum) {
this.changeOrderNum = changeOrderNum;
}
public int getPmtStatus() {
return pmtStatus;
}
public void setPmtStatus(int pmtStatus) {
this.pmtStatus = pmtStatus;
}
public Double getBillAmt() {
return billAmt;
}
public void setBillAmt(Double billAmt) {
this.billAmt = billAmt;
}
public String getSpecialNotes() {
return specialNotes;
}
public void setSpecialNotes(String specialNotes) {
this.specialNotes = specialNotes;
}
public String getCertification() {
return certification;
}
public void setCertification(String certification) {
this.certification = certification;
}
public int getInvoiceStatus() {
return invoiceStatus;
}
public void setInvoiceStatus(int invoiceStatus) {
this.invoiceStatus = invoiceStatus;
}
}

View File

@ -0,0 +1,77 @@
package com.astute.model;
public class InvoiceDetail {
String invoiceNum;
int lineItemNum;
int poLineItemNum;
int serviceTypeId;
String desc;
double qty;
double fee;
public InvoiceDetail(String invoiceNum, int lineItemNum, int poLineItemNum, int serviceTypeId, String desc, double qty, double fee) {
this.invoiceNum = invoiceNum;
this.lineItemNum = lineItemNum;
this.poLineItemNum = poLineItemNum;
this.serviceTypeId = serviceTypeId;
this.desc = desc;
this.qty = qty;
this.fee = fee;
}
public String getInvoiceNum() {
return invoiceNum;
}
public void setInvoiceNum(String invoiceNum) {
this.invoiceNum = invoiceNum;
}
public int getLineItemNum() {
return lineItemNum;
}
public void setLineItemNum(int lineItemNum) {
this.lineItemNum = lineItemNum;
}
public int getPoLineItemNum() {
return poLineItemNum;
}
public void setPoLineItemNum(int poLineItemNum) {
this.poLineItemNum = poLineItemNum;
}
public int getServiceTypeId() {
return serviceTypeId;
}
public void setServiceTypeId(int serviceTypeId) {
this.serviceTypeId = serviceTypeId;
}
public String getDesc() {
return desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
public double getQty() {
return qty;
}
public void setQty(double qty) {
this.qty = qty;
}
public double getFee() {
return fee;
}
public void setFee(double fee) {
this.fee = fee;
}
}

View File

@ -0,0 +1,69 @@
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;
}
}

View File

@ -0,0 +1,74 @@
package com.astute.model;
import java.io.Serializable;
import java.util.Date;
public class PO implements Serializable{
private String contractNum;
private Date PODate;
private Double contractAmt;
private Integer customerId;
private String astuteProjectNumber;
public PO(String PONum, String contractNum, Date PODate, Integer customerId, Double contractAmt, String astuteProjectNum) {
this.PONum = PONum;
this.contractNum = contractNum;
this.PODate = PODate;
this.customerId = customerId;
this.contractAmt = contractAmt;
this.astuteProjectNumber = astuteProjectNum;
}
private String PONum;
public String getPONum() {
return PONum;
}
public void setPONum(String PONum) {
this.PONum = PONum;
}
public String getContractNum() {
return contractNum;
}
public void setContractNum(String contractNum) {
this.contractNum = contractNum;
}
public Date getPODate() {
return PODate;
}
public void setPODate(Date PODate) {
this.PODate = PODate;
}
public Double getContractAmt() {
return contractAmt;
}
public void setContractAmt(Double contractAmt) {
this.contractAmt = contractAmt;
}
public Integer getCustomerId() {
return customerId;
}
public void setCustomerId(Integer customerId) {
this.customerId = customerId;
}
public String getAstuteProjectNumber() {
return astuteProjectNumber;
}
public void setAstuteProjectNumber(String astuteProjectNumber) {
this.astuteProjectNumber = astuteProjectNumber;
}
}

View File

@ -0,0 +1,84 @@
package com.astute.model;
import java.io.Serializable;
import java.util.Date;
public class PODetail implements Serializable{
String POnum;
int lineItemNo;
String serviceDesc;
int feeTypeId;
Double qty;
Double fee;
int serviceTypeId;
Double remainingQty;
public PODetail(String POnum, int lineItemNo, String serviceDesc, int feeTypeId, Double qty, double fee, int serviceTypeId, Double remainingQty) {
this.POnum = POnum;
this.lineItemNo = lineItemNo;
this.serviceDesc = serviceDesc;
this.feeTypeId = feeTypeId;
this.qty = qty;
this.fee = fee;
this.serviceTypeId = serviceTypeId;
this.remainingQty = remainingQty;
}
public String getPOnum() {
return POnum;
}
public void setPOnum(String POnum) {
this.POnum = POnum;
}
public int getLineItemNo() {
return lineItemNo;
}
public void setLineItemNo(int lineItemNo) {
this.lineItemNo = lineItemNo;
}
public String getServiceDesc() {
return serviceDesc;
}
public void setServiceDesc(String serviceDesc) {
this.serviceDesc = serviceDesc;
}
public int getFeeTypeId() {
return feeTypeId;
}
public void setFeeTypeId(int feeTypeId) {
this.feeTypeId = feeTypeId;
}
public Double getQty() {
return qty;
}
public void setQty(Double qty) {
this.qty = qty;
}
public Double getFee() { return fee; }
public void setFee(Double fee) { this.fee = fee; }
public int getServiceTypeId() {
return serviceTypeId;
}
public void setServiceTypeId(int serviceTypeId) {
this.serviceTypeId = serviceTypeId;
}
public Double getRemainingQty() {return remainingQty; }
public void setRemainingQty(Double remainingQty) { this.remainingQty = remainingQty;}
}

View File

@ -0,0 +1,37 @@
package com.astute.model;
public class User {
int userId;
String username;
String password;
public User(int userId, String username, String password) {
this.userId = userId;
this.username = username;
this.password = password;
}
public int getUserId() {
return userId;
}
public void setUserId(int userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}