From d64b89a09f4813c0940efd4d348af06ddecb0466 Mon Sep 17 00:00:00 2001 From: gopi17701 <41270090+gopi17701@users.noreply.github.com> Date: Wed, 22 Aug 2018 14:59:36 -0400 Subject: [PATCH] Add files via upload --- .../src/main/java/com/astute/model/Customer.java | 14 +++++++------- .../src/main/java/com/astute/model/PO.java | 14 ++++++++++++-- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/AstuteSystem/src/main/java/com/astute/model/Customer.java b/AstuteSystem/src/main/java/com/astute/model/Customer.java index d58386c..3fe906c 100644 --- a/AstuteSystem/src/main/java/com/astute/model/Customer.java +++ b/AstuteSystem/src/main/java/com/astute/model/Customer.java @@ -13,10 +13,10 @@ public class Customer { int zip; int ziplast4; String email; - int phone; - int fax; + Long phone; + Long fax; - public Customer(String 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(String customerId, String customerName, String billToDept, String add1, String add2, String city, String state, int zip, int ziplast4, String email, Long phone, Long fax) { this.customerId = customerId; this.customerName = customerName; this.billToDept = billToDept; @@ -111,19 +111,19 @@ public class Customer { this.email = email; } - public int getPhone() { + public Long getPhone() { return phone; } - public void setPhone(int phone) { + public void setPhone(Long phone) { this.phone = phone; } - public int getFax() { + public Long getFax() { return fax; } - public void setFax(int fax) { + public void setFax(Long fax) { this.fax = fax; } } diff --git a/AstuteSystem/src/main/java/com/astute/model/PO.java b/AstuteSystem/src/main/java/com/astute/model/PO.java index 618de5c..48f332f 100644 --- a/AstuteSystem/src/main/java/com/astute/model/PO.java +++ b/AstuteSystem/src/main/java/com/astute/model/PO.java @@ -9,16 +9,18 @@ public class PO implements Serializable{ private String contractNum; private Date PODate; private Double contractAmt; - private String customerId; + private String customerId; private String astuteProjectNumber; + private String title; - public PO(String PONum, String contractNum, Date PODate, String customerId, Double contractAmt, String astuteProjectNum) { + public PO(String PONum, String contractNum, Date PODate, String customerId, Double contractAmt, String astuteProjectNum, String title) { this.PONum = PONum; this.contractNum = contractNum; this.PODate = PODate; this.customerId = customerId; this.contractAmt = contractAmt; this.astuteProjectNumber = astuteProjectNum; + this.title = title; } @@ -71,4 +73,12 @@ public class PO implements Serializable{ public void setAstuteProjectNumber(String astuteProjectNumber) { this.astuteProjectNumber = astuteProjectNumber; } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } } \ No newline at end of file