View Javadoc
1   /*
2    *    Copyright 2009-2023 the original author or authors.
3    *
4    *    Licensed under the Apache License, Version 2.0 (the "License");
5    *    you may not use this file except in compliance with the License.
6    *    You may obtain a copy of the License at
7    *
8    *       https://www.apache.org/licenses/LICENSE-2.0
9    *
10   *    Unless required by applicable law or agreed to in writing, software
11   *    distributed under the License is distributed on an "AS IS" BASIS,
12   *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   *    See the License for the specific language governing permissions and
14   *    limitations under the License.
15   */
16  package org.apache.ibatis.submitted.column_prefix;
17  
18  public class Address {
19    private Integer id;
20  
21    private String state;
22  
23    private String city;
24  
25    private Phone phone1;
26  
27    private Phone phone2;
28  
29    private boolean hasPhone;
30  
31    private String stateBird;
32  
33    private Zip zip;
34  
35    public Address(Integer id, String state) {
36      this.id = id;
37      this.state = state;
38    }
39  
40    public Integer getId() {
41      return id;
42    }
43  
44    public void setId(Integer id) {
45      this.id = id;
46    }
47  
48    public String getState() {
49      return state;
50    }
51  
52    public void setState(String state) {
53      this.state = state;
54    }
55  
56    public String getCity() {
57      return city;
58    }
59  
60    public void setCity(String city) {
61      this.city = city;
62    }
63  
64    public Phone getPhone1() {
65      return phone1;
66    }
67  
68    public void setPhone1(Phone phone1) {
69      this.phone1 = phone1;
70    }
71  
72    public Phone getPhone2() {
73      return phone2;
74    }
75  
76    public void setPhone2(Phone phone2) {
77      this.phone2 = phone2;
78    }
79  
80    public boolean isHasPhone() {
81      return hasPhone;
82    }
83  
84    public void setHasPhone(boolean hasPhone) {
85      this.hasPhone = hasPhone;
86    }
87  
88    public String getStateBird() {
89      return stateBird;
90    }
91  
92    public void setStateBird(String stateBird) {
93      this.stateBird = stateBird;
94    }
95  
96    public Zip getZip() {
97      return zip;
98    }
99  
100   public void setZip(Zip zip) {
101     this.zip = zip;
102   }
103 }