Newer
Older
Architecture / src / main / java / proto / BasePull.java
yoichiro on 30 Jun 2019 541 bytes hinagata sakusei
package proto;

public class BasePull {
	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 String getAdd() {
			return add;
		}

		public void setAdd(String add) {
			this.add = add;
		}
	}
}