diff --git a/src/main/java/proto/BasePull.java b/src/main/java/proto/BasePull.java index 6949ab4..692b0b5 100644 --- a/src/main/java/proto/BasePull.java +++ b/src/main/java/proto/BasePull.java @@ -1,18 +1,35 @@ package proto; public class BasePull { - int t; - - public int getT() { - update(); - return t; + class Customer{ + Company off; + String add; + public Company getOff() { + return off; + } + public void setOff(Company off) { + this.off = off; + update(); + } + public String getAdd() { + return add; + } + public void setAdd(String add) { + this.add = add; + } + private void update() { + add = off.getAdd(); + } } + class Company{ + String add; - public void setT(int t) { - this.t = t; - } - - private void update() { - + public String getAdd() { + return add; + } + + public void setAdd(String add) { + this.add = add; + } } }