1 /*
2 * Copyright 2010-2026 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.mybatis.jpetstore.domain;
17
18 import java.io.Serializable;
19
20 /**
21 * The Class Account.
22 */
23 public class Account implements Serializable {
24
25 /** The serial version uid. */
26 private static final long serialVersionUID = 8751282105532159742L;
27
28 /** The username. */
29 private String username;
30 /** The password. */
31 private String password;
32 /** The email. */
33 private String email;
34 /** The first name. */
35 private String firstName;
36 /** The last name. */
37 private String lastName;
38 /** The status. */
39 private String status;
40 /** The address1. */
41 private String address1;
42 /** The address2. */
43 private String address2;
44 /** The city. */
45 private String city;
46 /** The state. */
47 private String state;
48 /** The zip. */
49 private String zip;
50 /** The country. */
51 private String country;
52 /** The phone. */
53 private String phone;
54 /** The favourite category id. */
55 private String favouriteCategoryId;
56 /** The language preference. */
57 private String languagePreference;
58 /** The list option. */
59 private boolean listOption;
60 /** The banner option. */
61 private boolean bannerOption;
62 /** The banner name. */
63 private String bannerName;
64
65 /**
66 * Gets the username.
67 *
68 * @return the username
69 */
70 public String getUsername() {
71 return username;
72 }
73
74 /**
75 * Sets the username.
76 *
77 * @param username
78 * the username
79 */
80 public void setUsername(String username) {
81 this.username = username;
82 }
83
84 /**
85 * Gets the password.
86 *
87 * @return the password
88 */
89 public String getPassword() {
90 return password;
91 }
92
93 /**
94 * Sets the password.
95 *
96 * @param password
97 * the password
98 */
99 public void setPassword(String password) {
100 this.password = password;
101 }
102
103 /**
104 * Gets the email.
105 *
106 * @return the email
107 */
108 public String getEmail() {
109 return email;
110 }
111
112 /**
113 * Sets the email.
114 *
115 * @param email
116 * the email
117 */
118 public void setEmail(String email) {
119 this.email = email;
120 }
121
122 /**
123 * Gets the first name.
124 *
125 * @return the first name
126 */
127 public String getFirstName() {
128 return firstName;
129 }
130
131 /**
132 * Sets the first name.
133 *
134 * @param firstName
135 * the first name
136 */
137 public void setFirstName(String firstName) {
138 this.firstName = firstName;
139 }
140
141 /**
142 * Gets the last name.
143 *
144 * @return the last name
145 */
146 public String getLastName() {
147 return lastName;
148 }
149
150 /**
151 * Sets the last name.
152 *
153 * @param lastName
154 * the last name
155 */
156 public void setLastName(String lastName) {
157 this.lastName = lastName;
158 }
159
160 /**
161 * Gets the status.
162 *
163 * @return the status
164 */
165 public String getStatus() {
166 return status;
167 }
168
169 /**
170 * Sets the status.
171 *
172 * @param status
173 * the status
174 */
175 public void setStatus(String status) {
176 this.status = status;
177 }
178
179 /**
180 * Gets the address1.
181 *
182 * @return the address1
183 */
184 public String getAddress1() {
185 return address1;
186 }
187
188 /**
189 * Sets the address1.
190 *
191 * @param address1
192 * the address1
193 */
194 public void setAddress1(String address1) {
195 this.address1 = address1;
196 }
197
198 /**
199 * Gets the address2.
200 *
201 * @return the address2
202 */
203 public String getAddress2() {
204 return address2;
205 }
206
207 /**
208 * Sets the address2.
209 *
210 * @param address2
211 * the address2
212 */
213 public void setAddress2(String address2) {
214 this.address2 = address2;
215 }
216
217 /**
218 * Gets the city.
219 *
220 * @return the city
221 */
222 public String getCity() {
223 return city;
224 }
225
226 /**
227 * Sets the city.
228 *
229 * @param city
230 * the city
231 */
232 public void setCity(String city) {
233 this.city = city;
234 }
235
236 /**
237 * Gets the state.
238 *
239 * @return the state
240 */
241 public String getState() {
242 return state;
243 }
244
245 /**
246 * Sets the state.
247 *
248 * @param state
249 * the state
250 */
251 public void setState(String state) {
252 this.state = state;
253 }
254
255 /**
256 * Gets the zip.
257 *
258 * @return the zip
259 */
260 public String getZip() {
261 return zip;
262 }
263
264 /**
265 * Sets the zip.
266 *
267 * @param zip
268 * the zip
269 */
270 public void setZip(String zip) {
271 this.zip = zip;
272 }
273
274 /**
275 * Gets the country.
276 *
277 * @return the country
278 */
279 public String getCountry() {
280 return country;
281 }
282
283 /**
284 * Sets the country.
285 *
286 * @param country
287 * the country
288 */
289 public void setCountry(String country) {
290 this.country = country;
291 }
292
293 /**
294 * Gets the phone.
295 *
296 * @return the phone
297 */
298 public String getPhone() {
299 return phone;
300 }
301
302 /**
303 * Sets the phone.
304 *
305 * @param phone
306 * the phone
307 */
308 public void setPhone(String phone) {
309 this.phone = phone;
310 }
311
312 /**
313 * Gets the favourite category id.
314 *
315 * @return the favourite category id
316 */
317 public String getFavouriteCategoryId() {
318 return favouriteCategoryId;
319 }
320
321 /**
322 * Sets the favourite category id.
323 *
324 * @param favouriteCategoryId
325 * the favourite category id
326 */
327 public void setFavouriteCategoryId(String favouriteCategoryId) {
328 this.favouriteCategoryId = favouriteCategoryId;
329 }
330
331 /**
332 * Gets the language preference.
333 *
334 * @return the language preference
335 */
336 public String getLanguagePreference() {
337 return languagePreference;
338 }
339
340 /**
341 * Sets the language preference.
342 *
343 * @param languagePreference
344 * the language preference
345 */
346 public void setLanguagePreference(String languagePreference) {
347 this.languagePreference = languagePreference;
348 }
349
350 /**
351 * Checks if is list option.
352 *
353 * @return true, if successful
354 */
355 public boolean isListOption() {
356 return listOption;
357 }
358
359 /**
360 * Sets the list option.
361 *
362 * @param listOption
363 * the list option
364 */
365 public void setListOption(boolean listOption) {
366 this.listOption = listOption;
367 }
368
369 /**
370 * Checks if is banner option.
371 *
372 * @return true, if successful
373 */
374 public boolean isBannerOption() {
375 return bannerOption;
376 }
377
378 /**
379 * Sets the banner option.
380 *
381 * @param bannerOption
382 * the banner option
383 */
384 public void setBannerOption(boolean bannerOption) {
385 this.bannerOption = bannerOption;
386 }
387
388 /**
389 * Gets the banner name.
390 *
391 * @return the banner name
392 */
393 public String getBannerName() {
394 return bannerName;
395 }
396
397 /**
398 * Sets the banner name.
399 *
400 * @param bannerName
401 * the banner name
402 */
403 public void setBannerName(String bannerName) {
404 this.bannerName = bannerName;
405 }
406
407 }