From 590e967c6672ca247bcde9213d3834af11e53dbd Mon Sep 17 00:00:00 2001 From: gopi17701 <41270090+gopi17701@users.noreply.github.com> Date: Tue, 31 Jul 2018 15:56:23 -0400 Subject: [PATCH] Add files via upload --- AstuteSystem/src/main/java/com/astute/model/Customer.java | 8 ++++---- AstuteSystem/src/main/java/com/astute/model/PO.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/AstuteSystem/src/main/java/com/astute/model/Customer.java b/AstuteSystem/src/main/java/com/astute/model/Customer.java index d8cb062..d58386c 100644 --- a/AstuteSystem/src/main/java/com/astute/model/Customer.java +++ b/AstuteSystem/src/main/java/com/astute/model/Customer.java @@ -3,7 +3,7 @@ package com.astute.model; import java.util.Date; public class Customer { - int customerId; + String customerId; String customerName; String billToDept; String add1; @@ -16,7 +16,7 @@ public class Customer { 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) { + 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) { this.customerId = customerId; this.customerName = customerName; this.billToDept = billToDept; @@ -31,11 +31,11 @@ public class Customer { this.fax = fax; } - public int getCustomerId() { + public String getCustomerId() { return customerId; } - public void setCustomerId(int customerId) { + public void setCustomerId(String customerId) { this.customerId = customerId; } diff --git a/AstuteSystem/src/main/java/com/astute/model/PO.java b/AstuteSystem/src/main/java/com/astute/model/PO.java index fa2bc56..618de5c 100644 --- a/AstuteSystem/src/main/java/com/astute/model/PO.java +++ b/AstuteSystem/src/main/java/com/astute/model/PO.java @@ -9,10 +9,10 @@ public class PO implements Serializable{ private String contractNum; private Date PODate; private Double contractAmt; - private Integer customerId; + private String customerId; private String astuteProjectNumber; - public PO(String PONum, String contractNum, Date PODate, Integer customerId, Double contractAmt, String astuteProjectNum) { + public PO(String PONum, String contractNum, Date PODate, String customerId, Double contractAmt, String astuteProjectNum) { this.PONum = PONum; this.contractNum = contractNum; this.PODate = PODate; @@ -56,11 +56,11 @@ public class PO implements Serializable{ this.contractAmt = contractAmt; } - public Integer getCustomerId() { + public String getCustomerId() { return customerId; } - public void setCustomerId(Integer customerId) { + public void setCustomerId(String customerId) { this.customerId = customerId; }