测试用户
2023-04-13 43393f2bb11cbf9e6af40077bbc5284660e8a754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
package com.deloitte.system.model;
 
import com.common.annotation.Table;
import com.common.core.domain.BaseModel;
 
@Table(tableName = "contact", clazz = Contact.class)
public class Contact extends BaseModel<Contact> {
    public static final Contact dao = new Contact();
 
    public Long getDataId(){
 
        return getLong("id");
    }
 
    public Contact setDataId(Long dataId){
        set("id", dataId);
        return this;
    }
 
    public String getFirstName(){
        return getStr("first_name");
    }
 
    public Contact setFirstName(String firstName){
        set("first_name", firstName);
        return this;
    }
 
    public String getLastName(){
        return getStr("last_name");
    }
 
    public Contact setLastName(String lastName){
        set("last_name", lastName);
        return this;
    }
 
    public String getPostcode(){
        return getStr("postcode");
    }
 
    public Contact setPostcode(String postcode){
        set("postcode", postcode);
        return this;
    }
 
    public String getPostcodeD(){
        return getStr("postcode_d");
    }
 
    public Contact setPostcodeD(String postcodeD){
        set("postcode_d", postcodeD);
        return this;
    }
 
    public String getTitleD(){
        return getStr("title_d");
    }
 
    public Contact setTitleD(String titleD){
        set("title_d", titleD);
        return this;
    }
 
    public String getTitle(){
        return getStr("title");
    }
 
    public Contact setTitle(String title){
        set("title", title);
        return this;
    }
 
    public String getContactEnglishName(){
        return getStr("contact_english_name");
    }
 
    public Contact setContactEnglishName(String contactEnglishName){
        set("contact_english_name", contactEnglishName);
        return this;
    }
 
    public String getEnglishAddress(){
        return getStr("english_address");
    }
 
    public Contact setEnglishAddress(String englishAddress){
        set("english_address", englishAddress);
        return this;
    }
 
    public String getAddress1(){
        return getStr("address1");
    }
 
    public Contact setAddress1(String address1){
        set("address1", address1);
        return this;
    }
 
    public String getAddress2(){
        return getStr("address2");
    }
 
    public Contact setAddress2(String address2){
        set("address2", address2);
        return this;
    }
 
    public String getAddress3(){
        return getStr("address3");
    }
 
    public Contact setAddress3(String address3){
        set("address3", address3);
        return this;
    }
 
    public String getAddress1D(){
        return getStr("address1_d");
    }
 
    public Contact setAddress1D(String address1D){
        set("address1_d", address1D);
        return this;
    }
 
    public String getAddress2D(){
        return getStr("address2_d");
    }
 
    public Contact setAddress2D(String address2D){
        set("address2_d", address2D);
        return this;
    }
 
    public String getAddress3D(){
        return getStr("address3_d");
    }
 
    public Contact setAddress3D(String address3D){
        set("address3_d", address3D);
        return this;
    }
 
    public String getFax(){
        return getStr("fax");
    }
 
    public Contact setFax(String fax){
        set("fax", fax);
        return this;
    }
 
    public String getFaxD(){
        return getStr("fax_d");
    }
 
    public Contact setFaxD(String faxD){
        set("fax_d", faxD);
        return this;
    }
 
    public String getEmailD(){
        return getStr("email_d");
    }
 
    public Contact setEmailD(String emailD){
        set("email_d", emailD);
        return this;
    }
 
    public String getEmail(){
        return getStr("email");
    }
 
    public Contact setEmail(String email){
        set("email", email);
        return this;
    }
 
    public String getMobilePhoneD(){
        return getStr("mobile_phone_d");
    }
 
    public Contact setMobilePhoneD(String mobilePhoneD){
        set("mobile_phone_d", mobilePhoneD);
        return this;
    }
 
    public String getOtherPhoneD(){
        return getStr("other_phone_d");
    }
 
    public Contact setOtherPhoneD(String otherPhoneD){
        set("other_phone_d", otherPhoneD);
        return this;
    }
 
    public String getPhoneD(){
        return getStr("phone_d");
    }
 
    public Contact setPhoneD(String phoneD){
        set("phone_d", phoneD);
        return this;
    }
 
    public String getHomePhone(){
        return getStr("home_phone");
    }
 
    public Contact setHomePhone(String homePhone){
        set("home_phone", homePhone);
        return this;
    }
 
    public String getMobilePhone(){
        return getStr("mobile_phone");
    }
 
    public Contact setMobilePhone(String mobilePhone){
        set("mobile_phone", mobilePhone);
        return this;
    }
 
    public String getOtherPhone(){
        return getStr("other_phone");
    }
 
    public Contact setOtherPhone(String otherPhone){
        set("other_phone", otherPhone);
        return this;
    }
 
    public String getPhone(){
        return getStr("phone");
    }
 
    public Contact setPhone(String Phone){
        set("phone", Phone);
        return this;
    }
 
 
    public String getSfRecordId(){
        return getStr("sf_record_id");
    }
 
    public Contact setSfRecordId(String sfRecordId){
        set("sf_record_id", sfRecordId);
        return this;
    }
 
    public Contact findById(String dataId){
        return this.dao.findFirst("select * from `" + getTableName() + "` where id=? ", dataId);
    }
}