Update Customer.java
This commit is contained in:
parent
729b521890
commit
371445d1d7
@ -1,21 +1,20 @@
|
|||||||
|
|
||||||
public class Customer {
|
public class Customer {
|
||||||
|
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
|
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
|
|
||||||
private String customerAddress;
|
private String customerAddress;
|
||||||
|
|
||||||
|
Customer(){
|
||||||
|
this.name="";
|
||||||
|
this.customerAddress="";
|
||||||
|
}
|
||||||
|
|
||||||
Customer(String name, String address){
|
Customer(String name, String address){
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.customerAddress = address;
|
this.customerAddress = address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user