riku
2025-07-02 3013b813e5df6977c0be921928f73b1a3adde290
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
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
package com.ping.greendao.gen;
 
import android.database.Cursor;
import android.database.sqlite.SQLiteStatement;
 
import org.greenrobot.greendao.AbstractDao;
import org.greenrobot.greendao.Property;
import org.greenrobot.greendao.internal.DaoConfig;
import org.greenrobot.greendao.database.Database;
import org.greenrobot.greendao.database.DatabaseStatement;
 
import cn.flightfeather.thirdappmodule.bean.entity.Evaluation;
 
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT.
/** 
 * DAO for table "EVALUATION".
*/
public class EvaluationDao extends AbstractDao<Evaluation, String> {
 
    public static final String TABLENAME = "EVALUATION";
 
    /**
     * Properties of entity Evaluation.<br/>
     * Can be used for QueryBuilder and for referencing column names.
     */
    public static class Properties {
        public final static Property Guid = new Property(0, String.class, "guid", true, "GUID");
        public final static Property Iguid = new Property(1, String.class, "iguid", false, "IGUID");
        public final static Property Stguid = new Property(2, String.class, "stguid", false, "STGUID");
        public final static Property Sguid = new Property(3, String.class, "sguid", false, "SGUID");
        public final static Property Scensetypeid = new Property(4, Byte.class, "scensetypeid", false, "SCENSETYPEID");
        public final static Property Scensetype = new Property(5, String.class, "scensetype", false, "SCENSETYPE");
        public final static Property Subscensetypeid = new Property(6, Byte.class, "subscensetypeid", false, "SUBSCENSETYPEID");
        public final static Property Subscensetype = new Property(7, String.class, "subscensetype", false, "SUBSCENSETYPE");
        public final static Property Ertype = new Property(8, Byte.class, "ertype", false, "ERTYPE");
        public final static Property Provincecode = new Property(9, String.class, "provincecode", false, "PROVINCECODE");
        public final static Property Provincename = new Property(10, String.class, "provincename", false, "PROVINCENAME");
        public final static Property Citycode = new Property(11, String.class, "citycode", false, "CITYCODE");
        public final static Property Cityname = new Property(12, String.class, "cityname", false, "CITYNAME");
        public final static Property Districtcode = new Property(13, String.class, "districtcode", false, "DISTRICTCODE");
        public final static Property Districtname = new Property(14, String.class, "districtname", false, "DISTRICTNAME");
        public final static Property Towncode = new Property(15, String.class, "towncode", false, "TOWNCODE");
        public final static Property Townname = new Property(16, String.class, "townname", false, "TOWNNAME");
        public final static Property Scensename = new Property(17, String.class, "scensename", false, "SCENSENAME");
        public final static Property Scenseaddress = new Property(18, String.class, "scenseaddress", false, "SCENSEADDRESS");
        public final static Property Evaluatetime = new Property(19, java.util.Date.class, "evaluatetime", false, "EVALUATETIME");
        public final static Property Evaluatorguid = new Property(20, String.class, "evaluatorguid", false, "EVALUATORGUID");
        public final static Property Evaluatorusername = new Property(21, String.class, "evaluatorusername", false, "EVALUATORUSERNAME");
        public final static Property Evaluatorrealname = new Property(22, String.class, "evaluatorrealname", false, "EVALUATORREALNAME");
        public final static Property Resultstandardbef = new Property(23, String.class, "resultstandardbef", false, "RESULTSTANDARDBEF");
        public final static Property Resultscorebef = new Property(24, String.class, "resultscorebef", false, "RESULTSCOREBEF");
        public final static Property Promissednum = new Property(25, Integer.class, "promissednum", false, "PROMISSEDNUM");
        public final static Property Changednum = new Property(26, Integer.class, "changednum", false, "CHANGEDNUM");
        public final static Property Resultstandardaft = new Property(27, String.class, "resultstandardaft", false, "RESULTSTANDARDAFT");
        public final static Property Resultscoreaft = new Property(28, String.class, "resultscoreaft", false, "RESULTSCOREAFT");
        public final static Property Createdate = new Property(29, java.util.Date.class, "createdate", false, "CREATEDATE");
        public final static Property Updatedate = new Property(30, java.util.Date.class, "updatedate", false, "UPDATEDATE");
        public final static Property Extension1 = new Property(31, String.class, "extension1", false, "EXTENSION1");
        public final static Property Extension2 = new Property(32, String.class, "extension2", false, "EXTENSION2");
        public final static Property Extension3 = new Property(33, String.class, "extension3", false, "EXTENSION3");
        public final static Property Remark = new Property(34, String.class, "remark", false, "REMARK");
    }
 
 
    public EvaluationDao(DaoConfig config) {
        super(config);
    }
    
    public EvaluationDao(DaoConfig config, DaoSession daoSession) {
        super(config, daoSession);
    }
 
    /** Creates the underlying database table. */
    public static void createTable(Database db, boolean ifNotExists) {
        String constraint = ifNotExists? "IF NOT EXISTS ": "";
        db.execSQL("CREATE TABLE " + constraint + "\"EVALUATION\" (" + //
                "\"GUID\" TEXT PRIMARY KEY NOT NULL ," + // 0: guid
                "\"IGUID\" TEXT," + // 1: iguid
                "\"STGUID\" TEXT," + // 2: stguid
                "\"SGUID\" TEXT," + // 3: sguid
                "\"SCENSETYPEID\" INTEGER," + // 4: scensetypeid
                "\"SCENSETYPE\" TEXT," + // 5: scensetype
                "\"SUBSCENSETYPEID\" INTEGER," + // 6: subscensetypeid
                "\"SUBSCENSETYPE\" TEXT," + // 7: subscensetype
                "\"ERTYPE\" INTEGER," + // 8: ertype
                "\"PROVINCECODE\" TEXT," + // 9: provincecode
                "\"PROVINCENAME\" TEXT," + // 10: provincename
                "\"CITYCODE\" TEXT," + // 11: citycode
                "\"CITYNAME\" TEXT," + // 12: cityname
                "\"DISTRICTCODE\" TEXT," + // 13: districtcode
                "\"DISTRICTNAME\" TEXT," + // 14: districtname
                "\"TOWNCODE\" TEXT," + // 15: towncode
                "\"TOWNNAME\" TEXT," + // 16: townname
                "\"SCENSENAME\" TEXT," + // 17: scensename
                "\"SCENSEADDRESS\" TEXT," + // 18: scenseaddress
                "\"EVALUATETIME\" INTEGER," + // 19: evaluatetime
                "\"EVALUATORGUID\" TEXT," + // 20: evaluatorguid
                "\"EVALUATORUSERNAME\" TEXT," + // 21: evaluatorusername
                "\"EVALUATORREALNAME\" TEXT," + // 22: evaluatorrealname
                "\"RESULTSTANDARDBEF\" TEXT," + // 23: resultstandardbef
                "\"RESULTSCOREBEF\" TEXT," + // 24: resultscorebef
                "\"PROMISSEDNUM\" INTEGER," + // 25: promissednum
                "\"CHANGEDNUM\" INTEGER," + // 26: changednum
                "\"RESULTSTANDARDAFT\" TEXT," + // 27: resultstandardaft
                "\"RESULTSCOREAFT\" TEXT," + // 28: resultscoreaft
                "\"CREATEDATE\" INTEGER," + // 29: createdate
                "\"UPDATEDATE\" INTEGER," + // 30: updatedate
                "\"EXTENSION1\" TEXT," + // 31: extension1
                "\"EXTENSION2\" TEXT," + // 32: extension2
                "\"EXTENSION3\" TEXT," + // 33: extension3
                "\"REMARK\" TEXT);"); // 34: remark
    }
 
    /** Drops the underlying database table. */
    public static void dropTable(Database db, boolean ifExists) {
        String sql = "DROP TABLE " + (ifExists ? "IF EXISTS " : "") + "\"EVALUATION\"";
        db.execSQL(sql);
    }
 
    @Override
    protected final void bindValues(DatabaseStatement stmt, Evaluation entity) {
        stmt.clearBindings();
 
        String guid = entity.getGuid();
        if (guid != null) {
            stmt.bindString(1, guid);
        }
 
        String iguid = entity.getIguid();
        if (iguid != null) {
            stmt.bindString(2, iguid);
        }
 
        String stguid = entity.getStguid();
        if (stguid != null) {
            stmt.bindString(3, stguid);
        }
 
        String sguid = entity.getSguid();
        if (sguid != null) {
            stmt.bindString(4, sguid);
        }
 
        Byte scensetypeid = entity.getScensetypeid();
        if (scensetypeid != null) {
            stmt.bindLong(5, scensetypeid);
        }
 
        String scensetype = entity.getScensetype();
        if (scensetype != null) {
            stmt.bindString(6, scensetype);
        }
 
        Byte subscensetypeid = entity.getSubscensetypeid();
        if (subscensetypeid != null) {
            stmt.bindLong(7, subscensetypeid);
        }
 
        String subscensetype = entity.getSubscensetype();
        if (subscensetype != null) {
            stmt.bindString(8, subscensetype);
        }
 
        Byte ertype = entity.getErtype();
        if (ertype != null) {
            stmt.bindLong(9, ertype);
        }
 
        String provincecode = entity.getProvincecode();
        if (provincecode != null) {
            stmt.bindString(10, provincecode);
        }
 
        String provincename = entity.getProvincename();
        if (provincename != null) {
            stmt.bindString(11, provincename);
        }
 
        String citycode = entity.getCitycode();
        if (citycode != null) {
            stmt.bindString(12, citycode);
        }
 
        String cityname = entity.getCityname();
        if (cityname != null) {
            stmt.bindString(13, cityname);
        }
 
        String districtcode = entity.getDistrictcode();
        if (districtcode != null) {
            stmt.bindString(14, districtcode);
        }
 
        String districtname = entity.getDistrictname();
        if (districtname != null) {
            stmt.bindString(15, districtname);
        }
 
        String towncode = entity.getTowncode();
        if (towncode != null) {
            stmt.bindString(16, towncode);
        }
 
        String townname = entity.getTownname();
        if (townname != null) {
            stmt.bindString(17, townname);
        }
 
        String scensename = entity.getScensename();
        if (scensename != null) {
            stmt.bindString(18, scensename);
        }
 
        String scenseaddress = entity.getScenseaddress();
        if (scenseaddress != null) {
            stmt.bindString(19, scenseaddress);
        }
 
        java.util.Date evaluatetime = entity.getEvaluatetime();
        if (evaluatetime != null) {
            stmt.bindLong(20, evaluatetime.getTime());
        }
 
        String evaluatorguid = entity.getEvaluatorguid();
        if (evaluatorguid != null) {
            stmt.bindString(21, evaluatorguid);
        }
 
        String evaluatorusername = entity.getEvaluatorusername();
        if (evaluatorusername != null) {
            stmt.bindString(22, evaluatorusername);
        }
 
        String evaluatorrealname = entity.getEvaluatorrealname();
        if (evaluatorrealname != null) {
            stmt.bindString(23, evaluatorrealname);
        }
 
        String resultstandardbef = entity.getResultstandardbef();
        if (resultstandardbef != null) {
            stmt.bindString(24, resultstandardbef);
        }
 
        String resultscorebef = entity.getResultscorebef();
        if (resultscorebef != null) {
            stmt.bindString(25, resultscorebef);
        }
 
        Integer promissednum = entity.getPromissednum();
        if (promissednum != null) {
            stmt.bindLong(26, promissednum);
        }
 
        Integer changednum = entity.getChangednum();
        if (changednum != null) {
            stmt.bindLong(27, changednum);
        }
 
        String resultstandardaft = entity.getResultstandardaft();
        if (resultstandardaft != null) {
            stmt.bindString(28, resultstandardaft);
        }
 
        String resultscoreaft = entity.getResultscoreaft();
        if (resultscoreaft != null) {
            stmt.bindString(29, resultscoreaft);
        }
 
        java.util.Date createdate = entity.getCreatedate();
        if (createdate != null) {
            stmt.bindLong(30, createdate.getTime());
        }
 
        java.util.Date updatedate = entity.getUpdatedate();
        if (updatedate != null) {
            stmt.bindLong(31, updatedate.getTime());
        }
 
        String extension1 = entity.getExtension1();
        if (extension1 != null) {
            stmt.bindString(32, extension1);
        }
 
        String extension2 = entity.getExtension2();
        if (extension2 != null) {
            stmt.bindString(33, extension2);
        }
 
        String extension3 = entity.getExtension3();
        if (extension3 != null) {
            stmt.bindString(34, extension3);
        }
 
        String remark = entity.getRemark();
        if (remark != null) {
            stmt.bindString(35, remark);
        }
    }
 
    @Override
    protected final void bindValues(SQLiteStatement stmt, Evaluation entity) {
        stmt.clearBindings();
 
        String guid = entity.getGuid();
        if (guid != null) {
            stmt.bindString(1, guid);
        }
 
        String iguid = entity.getIguid();
        if (iguid != null) {
            stmt.bindString(2, iguid);
        }
 
        String stguid = entity.getStguid();
        if (stguid != null) {
            stmt.bindString(3, stguid);
        }
 
        String sguid = entity.getSguid();
        if (sguid != null) {
            stmt.bindString(4, sguid);
        }
 
        Byte scensetypeid = entity.getScensetypeid();
        if (scensetypeid != null) {
            stmt.bindLong(5, scensetypeid);
        }
 
        String scensetype = entity.getScensetype();
        if (scensetype != null) {
            stmt.bindString(6, scensetype);
        }
 
        Byte subscensetypeid = entity.getSubscensetypeid();
        if (subscensetypeid != null) {
            stmt.bindLong(7, subscensetypeid);
        }
 
        String subscensetype = entity.getSubscensetype();
        if (subscensetype != null) {
            stmt.bindString(8, subscensetype);
        }
 
        Byte ertype = entity.getErtype();
        if (ertype != null) {
            stmt.bindLong(9, ertype);
        }
 
        String provincecode = entity.getProvincecode();
        if (provincecode != null) {
            stmt.bindString(10, provincecode);
        }
 
        String provincename = entity.getProvincename();
        if (provincename != null) {
            stmt.bindString(11, provincename);
        }
 
        String citycode = entity.getCitycode();
        if (citycode != null) {
            stmt.bindString(12, citycode);
        }
 
        String cityname = entity.getCityname();
        if (cityname != null) {
            stmt.bindString(13, cityname);
        }
 
        String districtcode = entity.getDistrictcode();
        if (districtcode != null) {
            stmt.bindString(14, districtcode);
        }
 
        String districtname = entity.getDistrictname();
        if (districtname != null) {
            stmt.bindString(15, districtname);
        }
 
        String towncode = entity.getTowncode();
        if (towncode != null) {
            stmt.bindString(16, towncode);
        }
 
        String townname = entity.getTownname();
        if (townname != null) {
            stmt.bindString(17, townname);
        }
 
        String scensename = entity.getScensename();
        if (scensename != null) {
            stmt.bindString(18, scensename);
        }
 
        String scenseaddress = entity.getScenseaddress();
        if (scenseaddress != null) {
            stmt.bindString(19, scenseaddress);
        }
 
        java.util.Date evaluatetime = entity.getEvaluatetime();
        if (evaluatetime != null) {
            stmt.bindLong(20, evaluatetime.getTime());
        }
 
        String evaluatorguid = entity.getEvaluatorguid();
        if (evaluatorguid != null) {
            stmt.bindString(21, evaluatorguid);
        }
 
        String evaluatorusername = entity.getEvaluatorusername();
        if (evaluatorusername != null) {
            stmt.bindString(22, evaluatorusername);
        }
 
        String evaluatorrealname = entity.getEvaluatorrealname();
        if (evaluatorrealname != null) {
            stmt.bindString(23, evaluatorrealname);
        }
 
        String resultstandardbef = entity.getResultstandardbef();
        if (resultstandardbef != null) {
            stmt.bindString(24, resultstandardbef);
        }
 
        String resultscorebef = entity.getResultscorebef();
        if (resultscorebef != null) {
            stmt.bindString(25, resultscorebef);
        }
 
        Integer promissednum = entity.getPromissednum();
        if (promissednum != null) {
            stmt.bindLong(26, promissednum);
        }
 
        Integer changednum = entity.getChangednum();
        if (changednum != null) {
            stmt.bindLong(27, changednum);
        }
 
        String resultstandardaft = entity.getResultstandardaft();
        if (resultstandardaft != null) {
            stmt.bindString(28, resultstandardaft);
        }
 
        String resultscoreaft = entity.getResultscoreaft();
        if (resultscoreaft != null) {
            stmt.bindString(29, resultscoreaft);
        }
 
        java.util.Date createdate = entity.getCreatedate();
        if (createdate != null) {
            stmt.bindLong(30, createdate.getTime());
        }
 
        java.util.Date updatedate = entity.getUpdatedate();
        if (updatedate != null) {
            stmt.bindLong(31, updatedate.getTime());
        }
 
        String extension1 = entity.getExtension1();
        if (extension1 != null) {
            stmt.bindString(32, extension1);
        }
 
        String extension2 = entity.getExtension2();
        if (extension2 != null) {
            stmt.bindString(33, extension2);
        }
 
        String extension3 = entity.getExtension3();
        if (extension3 != null) {
            stmt.bindString(34, extension3);
        }
 
        String remark = entity.getRemark();
        if (remark != null) {
            stmt.bindString(35, remark);
        }
    }
 
    @Override
    public String readKey(Cursor cursor, int offset) {
        return cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0);
    }    
 
    @Override
    public Evaluation readEntity(Cursor cursor, int offset) {
        Evaluation entity = new Evaluation( //
            cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0), // guid
            cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1), // iguid
            cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2), // stguid
            cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3), // sguid
            cursor.isNull(offset + 4) ? null : (byte) cursor.getShort(offset + 4), // scensetypeid
            cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5), // scensetype
            cursor.isNull(offset + 6) ? null : (byte) cursor.getShort(offset + 6), // subscensetypeid
            cursor.isNull(offset + 7) ? null : cursor.getString(offset + 7), // subscensetype
            cursor.isNull(offset + 8) ? null : (byte) cursor.getShort(offset + 8), // ertype
            cursor.isNull(offset + 9) ? null : cursor.getString(offset + 9), // provincecode
            cursor.isNull(offset + 10) ? null : cursor.getString(offset + 10), // provincename
            cursor.isNull(offset + 11) ? null : cursor.getString(offset + 11), // citycode
            cursor.isNull(offset + 12) ? null : cursor.getString(offset + 12), // cityname
            cursor.isNull(offset + 13) ? null : cursor.getString(offset + 13), // districtcode
            cursor.isNull(offset + 14) ? null : cursor.getString(offset + 14), // districtname
            cursor.isNull(offset + 15) ? null : cursor.getString(offset + 15), // towncode
            cursor.isNull(offset + 16) ? null : cursor.getString(offset + 16), // townname
            cursor.isNull(offset + 17) ? null : cursor.getString(offset + 17), // scensename
            cursor.isNull(offset + 18) ? null : cursor.getString(offset + 18), // scenseaddress
            cursor.isNull(offset + 19) ? null : new java.util.Date(cursor.getLong(offset + 19)), // evaluatetime
            cursor.isNull(offset + 20) ? null : cursor.getString(offset + 20), // evaluatorguid
            cursor.isNull(offset + 21) ? null : cursor.getString(offset + 21), // evaluatorusername
            cursor.isNull(offset + 22) ? null : cursor.getString(offset + 22), // evaluatorrealname
            cursor.isNull(offset + 23) ? null : cursor.getString(offset + 23), // resultstandardbef
            cursor.isNull(offset + 24) ? null : cursor.getString(offset + 24), // resultscorebef
            cursor.isNull(offset + 25) ? null : cursor.getInt(offset + 25), // promissednum
            cursor.isNull(offset + 26) ? null : cursor.getInt(offset + 26), // changednum
            cursor.isNull(offset + 27) ? null : cursor.getString(offset + 27), // resultstandardaft
            cursor.isNull(offset + 28) ? null : cursor.getString(offset + 28), // resultscoreaft
            cursor.isNull(offset + 29) ? null : new java.util.Date(cursor.getLong(offset + 29)), // createdate
            cursor.isNull(offset + 30) ? null : new java.util.Date(cursor.getLong(offset + 30)), // updatedate
            cursor.isNull(offset + 31) ? null : cursor.getString(offset + 31), // extension1
            cursor.isNull(offset + 32) ? null : cursor.getString(offset + 32), // extension2
            cursor.isNull(offset + 33) ? null : cursor.getString(offset + 33), // extension3
            cursor.isNull(offset + 34) ? null : cursor.getString(offset + 34) // remark
        );
        return entity;
    }
     
    @Override
    public void readEntity(Cursor cursor, Evaluation entity, int offset) {
        entity.setGuid(cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0));
        entity.setIguid(cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1));
        entity.setStguid(cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2));
        entity.setSguid(cursor.isNull(offset + 3) ? null : cursor.getString(offset + 3));
        entity.setScensetypeid(cursor.isNull(offset + 4) ? null : (byte) cursor.getShort(offset + 4));
        entity.setScensetype(cursor.isNull(offset + 5) ? null : cursor.getString(offset + 5));
        entity.setSubscensetypeid(cursor.isNull(offset + 6) ? null : (byte) cursor.getShort(offset + 6));
        entity.setSubscensetype(cursor.isNull(offset + 7) ? null : cursor.getString(offset + 7));
        entity.setErtype(cursor.isNull(offset + 8) ? null : (byte) cursor.getShort(offset + 8));
        entity.setProvincecode(cursor.isNull(offset + 9) ? null : cursor.getString(offset + 9));
        entity.setProvincename(cursor.isNull(offset + 10) ? null : cursor.getString(offset + 10));
        entity.setCitycode(cursor.isNull(offset + 11) ? null : cursor.getString(offset + 11));
        entity.setCityname(cursor.isNull(offset + 12) ? null : cursor.getString(offset + 12));
        entity.setDistrictcode(cursor.isNull(offset + 13) ? null : cursor.getString(offset + 13));
        entity.setDistrictname(cursor.isNull(offset + 14) ? null : cursor.getString(offset + 14));
        entity.setTowncode(cursor.isNull(offset + 15) ? null : cursor.getString(offset + 15));
        entity.setTownname(cursor.isNull(offset + 16) ? null : cursor.getString(offset + 16));
        entity.setScensename(cursor.isNull(offset + 17) ? null : cursor.getString(offset + 17));
        entity.setScenseaddress(cursor.isNull(offset + 18) ? null : cursor.getString(offset + 18));
        entity.setEvaluatetime(cursor.isNull(offset + 19) ? null : new java.util.Date(cursor.getLong(offset + 19)));
        entity.setEvaluatorguid(cursor.isNull(offset + 20) ? null : cursor.getString(offset + 20));
        entity.setEvaluatorusername(cursor.isNull(offset + 21) ? null : cursor.getString(offset + 21));
        entity.setEvaluatorrealname(cursor.isNull(offset + 22) ? null : cursor.getString(offset + 22));
        entity.setResultstandardbef(cursor.isNull(offset + 23) ? null : cursor.getString(offset + 23));
        entity.setResultscorebef(cursor.isNull(offset + 24) ? null : cursor.getString(offset + 24));
        entity.setPromissednum(cursor.isNull(offset + 25) ? null : cursor.getInt(offset + 25));
        entity.setChangednum(cursor.isNull(offset + 26) ? null : cursor.getInt(offset + 26));
        entity.setResultstandardaft(cursor.isNull(offset + 27) ? null : cursor.getString(offset + 27));
        entity.setResultscoreaft(cursor.isNull(offset + 28) ? null : cursor.getString(offset + 28));
        entity.setCreatedate(cursor.isNull(offset + 29) ? null : new java.util.Date(cursor.getLong(offset + 29)));
        entity.setUpdatedate(cursor.isNull(offset + 30) ? null : new java.util.Date(cursor.getLong(offset + 30)));
        entity.setExtension1(cursor.isNull(offset + 31) ? null : cursor.getString(offset + 31));
        entity.setExtension2(cursor.isNull(offset + 32) ? null : cursor.getString(offset + 32));
        entity.setExtension3(cursor.isNull(offset + 33) ? null : cursor.getString(offset + 33));
        entity.setRemark(cursor.isNull(offset + 34) ? null : cursor.getString(offset + 34));
     }
    
    @Override
    protected final String updateKeyAfterInsert(Evaluation entity, long rowId) {
        return entity.getGuid();
    }
    
    @Override
    public String getKey(Evaluation entity) {
        if(entity != null) {
            return entity.getGuid();
        } else {
            return null;
        }
    }
 
    @Override
    public boolean hasKey(Evaluation entity) {
        return entity.getGuid() != null;
    }
 
    @Override
    protected final boolean isEntityUpdateable() {
        return true;
    }
    
}