Add files via upload

This commit is contained in:
gopi17701 2018-07-23 13:25:40 -04:00 committed by GitHub
parent ce93f0f0ae
commit b92de8a936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 32 deletions

View File

@ -1,23 +1,22 @@
package com.astute.model; package com.astute.model;
public class InvoiceDetail { public class InvoiceDetail {
String invoiceNum; String invoiceNum;
int lineItemNum; int lineItemNum;
int poLineItemNum; int poLineItemNum;
int serviceTypeId; int serviceTypeId;
String desc; String desc;
double percentCompletion; double qty;
double hours; double fee;
double anount;
public InvoiceDetail(String invoiceNum, int lineItemNum, int poLineItemNum, int serviceTypeId, String desc, double percentCompletion, double hours, double anount) { public InvoiceDetail(String invoiceNum, int lineItemNum, int poLineItemNum, int serviceTypeId, String desc, double qty, double fee) {
this.invoiceNum = invoiceNum; this.invoiceNum = invoiceNum;
this.lineItemNum = lineItemNum; this.lineItemNum = lineItemNum;
this.poLineItemNum = poLineItemNum; this.poLineItemNum = poLineItemNum;
this.serviceTypeId = serviceTypeId; this.serviceTypeId = serviceTypeId;
this.desc = desc; this.desc = desc;
this.percentCompletion = percentCompletion; this.qty = qty;
this.hours = hours; this.fee = fee;
this.anount = anount;
} }
public String getInvoiceNum() { public String getInvoiceNum() {
@ -60,29 +59,19 @@ public class InvoiceDetail {
this.desc = desc; this.desc = desc;
} }
public double getPercentCompletion() { public double getQty() {
return percentCompletion; return qty;
} }
public void setPercentCompletion(double percentCompletion) { public void setQty(double qty) {
this.percentCompletion = percentCompletion; this.qty = qty;
} }
public double getHours() { public double getFee() {
return hours; return fee;
} }
public void setHours(double hours) { public void setFee(double fee) {
this.hours = hours; this.fee = fee;
} }
public double getAnount() {
return anount;
}
public void setAnount(double anount) {
this.anount = anount;
}
} }

View File

@ -10,6 +10,7 @@ public class PO implements Serializable{
private Date PODate; private Date PODate;
private Double contractAmt; private Double contractAmt;
private Integer customerId; private Integer customerId;
private String astuteProjectNumber;
public PO(String PONum, String contractNum, Date PODate, Integer customerId, Double contractAmt) { public PO(String PONum, String contractNum, Date PODate, Integer customerId, Double contractAmt) {
this.PONum = PONum; this.PONum = PONum;
@ -62,6 +63,11 @@ public class PO implements Serializable{
this.customerId = customerId; this.customerId = customerId;
} }
public String getAstuteProjectNumber() {
return astuteProjectNumber;
}
public void setAstuteProjectNumber(String astuteProjectNumber) {
this.astuteProjectNumber = astuteProjectNumber;
}
} }

View File

@ -9,15 +9,17 @@ public class PODetail implements Serializable{
String serviceDesc; String serviceDesc;
int feeTypeId; int feeTypeId;
Double qty; Double qty;
Double fee;
int serviceTypeId; int serviceTypeId;
Double remainingQty; Double remainingQty;
public PODetail(String POnum, int lineItemNo, String serviceDesc, int feeTypeId, Double qty, 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.POnum = POnum;
this.lineItemNo = lineItemNo; this.lineItemNo = lineItemNo;
this.serviceDesc = serviceDesc; this.serviceDesc = serviceDesc;
this.feeTypeId = feeTypeId; this.feeTypeId = feeTypeId;
this.qty = qty; this.qty = qty;
this.fee = fee;
this.serviceTypeId = serviceTypeId; this.serviceTypeId = serviceTypeId;
this.remainingQty = remainingQty; this.remainingQty = remainingQty;
} }
@ -62,6 +64,10 @@ public class PODetail implements Serializable{
this.qty = qty; this.qty = qty;
} }
public Double getFee() { return fee; }
public void setFee(Double fee) { this.fee = fee; }
public int getServiceTypeId() { public int getServiceTypeId() {
return serviceTypeId; return serviceTypeId;
} }