001: package com.ibatis.jpetstore.domain;
002:
003: import java.io.Serializable;
004:
005: public class Account implements Serializable {
006:
007: /* Private Fields */
008:
009: private String username;
010:
011: private String password;
012:
013: private String email;
014:
015: private String firstName;
016:
017: private String lastName;
018:
019: private String status;
020:
021: private String address1;
022:
023: private String address2;
024:
025: private String city;
026:
027: private String state;
028:
029: private String zip;
030:
031: private String country;
032:
033: private String phone;
034:
035: private String favouriteCategoryId;
036:
037: private String languagePreference;
038:
039: private boolean listOption;
040:
041: private boolean bannerOption;
042:
043: private String bannerName;
044:
045: /* JavaBeans Properties */
046:
047: public String getUsername() {
048: return username;
049: }
050:
051: public void setUsername(String username) {
052: this .username = username;
053: }
054:
055: public String getPassword() {
056: return password;
057: }
058:
059: public void setPassword(String password) {
060: this .password = password;
061: }
062:
063: public String getEmail() {
064: return email;
065: }
066:
067: public void setEmail(String email) {
068: this .email = email;
069: }
070:
071: public String getFirstName() {
072: return firstName;
073: }
074:
075: public void setFirstName(String firstName) {
076: this .firstName = firstName;
077: }
078:
079: public String getLastName() {
080: return lastName;
081: }
082:
083: public void setLastName(String lastName) {
084: this .lastName = lastName;
085: }
086:
087: public String getStatus() {
088: return status;
089: }
090:
091: public void setStatus(String status) {
092: this .status = status;
093: }
094:
095: public String getAddress1() {
096: return address1;
097: }
098:
099: public void setAddress1(String address1) {
100: this .address1 = address1;
101: }
102:
103: public String getAddress2() {
104: return address2;
105: }
106:
107: public void setAddress2(String address2) {
108: this .address2 = address2;
109: }
110:
111: public String getCity() {
112: return city;
113: }
114:
115: public void setCity(String city) {
116: this .city = city;
117: }
118:
119: public String getState() {
120: return state;
121: }
122:
123: public void setState(String state) {
124: this .state = state;
125: }
126:
127: public String getZip() {
128: return zip;
129: }
130:
131: public void setZip(String zip) {
132: this .zip = zip;
133: }
134:
135: public String getCountry() {
136: return country;
137: }
138:
139: public void setCountry(String country) {
140: this .country = country;
141: }
142:
143: public String getPhone() {
144: return phone;
145: }
146:
147: public void setPhone(String phone) {
148: this .phone = phone;
149: }
150:
151: public String getFavouriteCategoryId() {
152: return favouriteCategoryId;
153: }
154:
155: public void setFavouriteCategoryId(String favouriteCategoryId) {
156: this .favouriteCategoryId = favouriteCategoryId;
157: }
158:
159: public String getLanguagePreference() {
160: return languagePreference;
161: }
162:
163: public void setLanguagePreference(String languagePreference) {
164: this .languagePreference = languagePreference;
165: }
166:
167: public boolean isListOption() {
168: return listOption;
169: }
170:
171: public void setListOption(boolean listOption) {
172: this .listOption = listOption;
173: }
174:
175: public boolean isBannerOption() {
176: return bannerOption;
177: }
178:
179: public void setBannerOption(boolean bannerOption) {
180: this .bannerOption = bannerOption;
181: }
182:
183: public String getBannerName() {
184: return bannerName;
185: }
186:
187: public void setBannerName(String bannerName) {
188: this.bannerName = bannerName;
189: }
190:
191: }
|