fs-danaus
2022-08-03 1937886b35d7610cf142e89b11fda29ccc49fa8b
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
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
package com.yc.entity;
 
import com.google.gson.Gson;
 
import java.util.Date;
 
 
public class DataSourceEntity {
    private int dbId = 0;
    private String demoDataSource = null ;  //demo 数据源名称
    private String systemID    = null ;
    private String systemDescribe    = null ;
    private String systemFlag     = null ;
    private String host    = null     ;
    private String userid = null ;
    private String password    = null ;
    private String db = null ;
    private String port    = null ;
    private boolean actived = true ;
    private byte[] logoIcon;
    private int activeVersion = 0;
    private int dbFileMaxSize = 0;
    private int siteSpaceMaxSize = 0;
    private String domain = null ;
    private String smsUid = null;
    private String smsKey = null;
    private boolean isShowAttendanceButton = false    ;
    private int limitUserNumber    = 0;
    private int limitDepartmentNumber = 0;
    private String systemType = null;
    private Date expiredDate = null;
    private boolean isSaas = false;
    private boolean isSendMail = false;
    private String remarks = null;
    private int dataCheckPageNum = 200;
    private String corpId = null;
    private String corpURL = null;
    private String mpAppId = null;
    private String mpSecret = null;
    private String mpToken = null;
    private String mpAesKey = null;
    private String miniAppId = null;
    private String miniAppSecret = null;
    private String miniAppToken = null;
    private String miniAppAesKey = null;
    private String miniAppOrgId = null ;
    private String mpOrgId = null;
    private String geoWebApiKey = null;
    private int cltId = 0 ;
    private int dataSize = 0 ;  //单位: MB
    private int logSize = 0 ; //单位: MB
    private int totalSize = 0 ;   //单位: MB
    private int dataFreeSpace = 0 ;  //单位 : MB
    private int logFreeSpace = 0 ;  //单位 : MB
    private int totalFreeSpace = 0 ; //单位 : MB
    private double freeSpaceRate = 0; //可用空间率
    private String mpMchId = null ; //微信商户 MchId
    
    private String mpMchName = null ; //支付时显示的企业名称
    private String mpMchKey = null ;   //微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置
    
    private String invitationCode = null ;  //注册验证码
    private String SystemAccessKey = null ;  //appkey 用于德立
    private String SystemSecretKey = null ;  //密钥   用于德立
    private String DockingSystem = null ;  //对接系统   用于德立
    private  boolean isUseAPP=false;//是否启用APP功能
    private boolean isShowInLoginPage = true ; //是否在登录页面的下拉列表中显示
    private boolean hasLogoIcon=false;//是否设置有LOGO图片
    private String protocol = null ;  //传输协议: http  or https  , 用于 手机 移动端使用 
    private boolean isAutoGenerateFormId = false ;  //是否自动生成功能号
    private String tengXunMapLocationServiceKey = null ; //腾讯位置服务地图选点
 
    private String paymentMethod;//在线支付 xin 2021-10-12 11:29:06
    private String abcMchId;//江苏农行e收款商户编号
    private Integer dataSourceInitialPoolSize;
    private Integer dataSourceMinPoolSize;
    private Integer dataSourceMaxPoolSize ;
    private Integer dataSourceAcquireIncrement ;
    private Integer dataSourceMaxIdleTime ;
    private Integer dataSourceMaxStatements ;
    private Integer dataSourceIdleConnectionTestPeriod ;
    private String domainIpList;
    private String domainStaticIpList ;
 
    private String aliPayAppId;//支付宝APPId xin 2021-12-10 09:24:27
    private Integer maintenanceFeeToDbId;//收取维护费所属公司 xin 2021-12-10 09:24:27
    private String MaintenanceFeeAcctCode;//维护费账户 xin 2021-12-18 09:50:10
    private String deliUserCode;//德立系统账号
    private String deliUserId;//与deliUserCode绑定的unid,用于推送数据时附加回去
 
    public String getDeliUserCode() {
        return deliUserCode;
    }
 
    public void setDeliUserCode(String deliUserCode) {
        this.deliUserCode = deliUserCode;
    }
 
    public String getDeliUserId() {
        return deliUserId;
    }
 
    public void setDeliUserId(String deliUserId) {
        this.deliUserId = deliUserId;
    }
 
    public String getMaintenanceFeeAcctCode() {
        return MaintenanceFeeAcctCode;
    }
 
    public void setMaintenanceFeeAcctCode(String maintenanceFeeAcctCode) {
        MaintenanceFeeAcctCode = maintenanceFeeAcctCode;
    }
 
    public String getAliPayAppId() {
        return aliPayAppId;
    }
 
    public void setAliPayAppId(String aliPayAppId) {
        this.aliPayAppId = aliPayAppId;
    }
 
    public Integer getMaintenanceFeeToDbId() {
        return maintenanceFeeToDbId;
    }
 
    public void setMaintenanceFeeToDbId(Integer maintenanceFeeToDbId) {
        this.maintenanceFeeToDbId = maintenanceFeeToDbId;
    }
 
    public String getDomainStaticIpList() {
        return domainStaticIpList;
    }
 
    public void setDomainStaticIpList(String domainStaticIpList) {
        this.domainStaticIpList = domainStaticIpList;
    }
 
    public Integer getDataSourceInitialPoolSize() {
        return dataSourceInitialPoolSize;
    }
 
    public void setDataSourceInitialPoolSize(Integer dataSourceInitialPoolSize) {
        this.dataSourceInitialPoolSize = dataSourceInitialPoolSize;
    }
 
    public Integer getDataSourceMinPoolSize() {
        return dataSourceMinPoolSize;
    }
 
    public void setDataSourceMinPoolSize(Integer dataSourceMinPoolSize) {
        this.dataSourceMinPoolSize = dataSourceMinPoolSize;
    }
 
    public Integer getDataSourceMaxPoolSize() {
        return dataSourceMaxPoolSize;
    }
 
    public void setDataSourceMaxPoolSize(Integer dataSourceMaxPoolSize) {
        this.dataSourceMaxPoolSize = dataSourceMaxPoolSize;
    }
 
    public Integer getDataSourceAcquireIncrement() {
        return dataSourceAcquireIncrement;
    }
 
    public void setDataSourceAcquireIncrement(Integer dataSourceAcquireIncrement) {
        this.dataSourceAcquireIncrement = dataSourceAcquireIncrement;
    }
 
    public Integer getDataSourceMaxIdleTime() {
        return dataSourceMaxIdleTime;
    }
 
    public void setDataSourceMaxIdleTime(Integer dataSourceMaxIdleTime) {
        this.dataSourceMaxIdleTime = dataSourceMaxIdleTime;
    }
 
    public Integer getDataSourceMaxStatements() {
        return dataSourceMaxStatements;
    }
 
    public void setDataSourceMaxStatements(Integer dataSourceMaxStatements) {
        this.dataSourceMaxStatements = dataSourceMaxStatements;
    }
 
    public Integer getDataSourceIdleConnectionTestPeriod() {
        return dataSourceIdleConnectionTestPeriod;
    }
 
    public void setDataSourceIdleConnectionTestPeriod(Integer dataSourceIdleConnectionTestPeriod) {
        this.dataSourceIdleConnectionTestPeriod = dataSourceIdleConnectionTestPeriod;
    }
 
    public String getDomainIpList() {
        return domainIpList;
    }
 
    public void setDomainIpList(String domainIpList) {
        this.domainIpList = domainIpList;
    }
 
    public String getPaymentMethod() {
        return paymentMethod;
    }
 
    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }
 
    public String getAbcMchId() {
        return abcMchId;
    }
 
    public void setAbcMchId(String abcMchId) {
        this.abcMchId = abcMchId;
    }
 
    public String getTengXunMapLocationServiceKey() {
        return tengXunMapLocationServiceKey;
    }
 
    public DataSourceEntity setTengXunMapLocationServiceKey(String tengXunMapLocationServiceKey) {
        this.tengXunMapLocationServiceKey = tengXunMapLocationServiceKey;
        return  this ;
    }
 
    public boolean isAutoGenerateFormId() {
        return isAutoGenerateFormId;
    }
 
    public DataSourceEntity setAutoGenerateFormId(boolean isAutoGenerateFormId) {
        this.isAutoGenerateFormId = isAutoGenerateFormId;
        return this;
    }
 
    public String getProtocol() {
        return protocol;
    }
 
    public DataSourceEntity setProtocol(String protocol) {
        this.protocol = protocol;
        return this;
    }
 
    public double getFreeSpaceRate() {
        return freeSpaceRate;
    }
 
    public DataSourceEntity setFreeSpaceRate(double freeSpaceRate) {
        this.freeSpaceRate = freeSpaceRate;
        return this;
    }
 
    public int getDataFreeSpace() {
        return dataFreeSpace;
    }
 
    public DataSourceEntity setDataFreeSpace(int dataFreeSpace) {
        this.dataFreeSpace = dataFreeSpace;
        return this;
    }
 
    public int getLogFreeSpace() {
        return logFreeSpace;
    }
 
    public DataSourceEntity setLogFreeSpace(int logFreeSpace) {
        this.logFreeSpace = logFreeSpace;
        return this;
    }
 
    public int getTotalFreeSpace() {
        return totalFreeSpace;
    }
 
    public DataSourceEntity setTotalFreeSpace(int totalFreeSpace) {
        this.totalFreeSpace = totalFreeSpace;
        return this;
    }
 
    public boolean isHasLogoIcon() {
        return hasLogoIcon;
    }
 
    public DataSourceEntity setHasLogoIcon(boolean hasLogoIcon) {
        this.hasLogoIcon = hasLogoIcon;
        return this;
    }
 
    public boolean isShowInLoginPage() {
        return isShowInLoginPage;
    }
 
    public DataSourceEntity setShowInLoginPage(boolean isShowInLoginPage) {
        this.isShowInLoginPage = isShowInLoginPage;
        return this ;
    }
 
    public DataSourceEntity setUseAPP(boolean isUseAPP) {
        this.isUseAPP = isUseAPP;
        return this ;
    }
 
    public boolean isUseAPP() {
        return isUseAPP;
    }
 
 
    public String getDockingSystem() {
        return DockingSystem;
    }
 
    public DataSourceEntity setDockingSystem(String dockingSystem) {
        DockingSystem = dockingSystem;
        return this ;
    }
 
    public String getSystemAccessKey() {
        return SystemAccessKey;
    }
 
    public DataSourceEntity setSystemAccessKey(String systemAccessKey) {
        SystemAccessKey = systemAccessKey;
        return this;
    }
 
    public String getSystemSecretKey() {
        return SystemSecretKey;
    }
 
    public DataSourceEntity setSystemSecretKey(String systemSecretKey) {
        SystemSecretKey = systemSecretKey;
        return this;
    }
/*
    private String corpIdBy3rd = null ; //企业微信第三方 CorpId
    private String corpSecretBy3rd = null ; //企业微信第三方 ProviderSecret
    private String corpTokenBy3rd = null ; //企业微信第三方 Token
    private String corpAESKeyBy3rd = null ; //企业微信第三方 EncodingAESKey
    
    private String mpOpenAppIdBy3rd = null; //开放平台第三方 CorpId
    private String mpOpenSecretBy3rd = null ; //开放平台第三方 ProviderSecret
    private String mpOpenTokenBy3rd = null ; //开放平台第三方 Token
    private String mpOpenAESKeyBy3rd = null ; //开放平台第三方 EncodingAESKey
*/
 
    public String getDemoDataSource() {
        return demoDataSource;
    }
    public String getMiniAppOrgId() {
        return miniAppOrgId;
    }
    public DataSourceEntity setMiniAppOrgId(String miniAppOrgId) {
        this.miniAppOrgId = miniAppOrgId;
        return this;
    }
    public DataSourceEntity setDemoDataSource(String demoDataSource) {
        this.demoDataSource = demoDataSource;
        return this;
    }
    public String getMiniAppId() {
        return miniAppId;
    }
    public DataSourceEntity setMiniAppId(String miniAppId) {
        this.miniAppId = miniAppId;
        return this ;
    }
    public String getMiniAppSecret() {
        return miniAppSecret;
    }
    public DataSourceEntity setMiniAppSecret(String miniAppSecret) {
        this.miniAppSecret = miniAppSecret;
        return this ;
    }
    public String getMiniAppToken() {
        return miniAppToken;
    }
    public DataSourceEntity setMiniAppToken(String miniAppToken) {
        this.miniAppToken = miniAppToken;
        return this ;
    }
    public String getMiniAppAesKey() {
        return miniAppAesKey;
    }
    public DataSourceEntity setMiniAppAesKey(String miniAppAesKey) {
        this.miniAppAesKey = miniAppAesKey;
        return this;
    }
    public String getInvitationCode() {
        return invitationCode;
    }
    public DataSourceEntity setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
        return this ;
    }
 
    private String scanCode ;  //条码信息
    private boolean isDisabledOpenNextPeriodId = false ; //禁止系统作业程序自动打开下个月期间(如果不禁用此选项,则每月 24号,25号,27号,28号,30,31号系统自动尝试打开下个月的会计期间)
 
    public boolean isDisabledOpenNextPeriodId() {
        return isDisabledOpenNextPeriodId;
    }
    public DataSourceEntity setDisabledOpenNextPeriodId(boolean isDisabledOpenNextPeriodId) {
        this.isDisabledOpenNextPeriodId = isDisabledOpenNextPeriodId;
        return this;
    }
 
 
    public String getMpMchKey() {
        return mpMchKey;
    }
    public DataSourceEntity setMpMchKey(String mpMchKey) {
        this.mpMchKey = mpMchKey;
        return this;
    }
    public String getMpMchName() {
        return mpMchName;
    }
    public DataSourceEntity setMpMchName(String mpMchName) {
        this.mpMchName = mpMchName;
        return this;
    }
    public String getMpMchId() {
        return mpMchId;
    }
    public DataSourceEntity setMpMchId(String mpMchId) {
        this.mpMchId = mpMchId;
        return this;
    }
    public int getTotalSize() {
        return totalSize;
    }
    public DataSourceEntity setTotalSize(int totalSize) {
        this.totalSize = totalSize;
        return this;
    }
    public int getDataSize() {
        return dataSize;
    }
    public DataSourceEntity setDataSize(int dataSize) {
        this.dataSize = dataSize;
        return this;
    }
    public int getLogSize() {
        return logSize;
    }
    public DataSourceEntity setLogSize(int logSize) {
        this.logSize = logSize;
        return this;
    }
 
    
    
    
    public String getScanCode() {
        return scanCode;
    }
    public DataSourceEntity setScanCode(String scanCode) {
        this.scanCode = scanCode;
        return this;
    }
 
    public int getCltId() {
        return cltId;
    }
    public DataSourceEntity setCltId(int cltId) {
        this.cltId = cltId;
        return this;
    }
    private Integer expiredDays = null ;   //数据源过期天数:正数表示已经过期, null 或 负数表示未过期 
    private Integer expiredMinute = null ;   //数据源过期分钟数:正数表示已经过期, null 或 负数表示未过期
 
 
    public Integer getExpiredMinute() {
        return expiredMinute;
    }
 
    public void setExpiredMinute(Integer expiredMinute) {
        this.expiredMinute = expiredMinute;
    }
 
    public int getDbId() {
        return dbId;
    }
    public DataSourceEntity setDbId(int dbId) {
        this.dbId = dbId;
        return this;
    }
    public String getSystemID() {
        return systemID;
    }
    public DataSourceEntity setSystemID(String systemID) {
        this.systemID = systemID;
        return this;
    }
    public String getSystemDescribe() {
        return systemDescribe;
    }
    public DataSourceEntity setSystemDescribe(String systemDescribe) {
        this.systemDescribe = systemDescribe;
        return this;
    }
    public String getSystemFlag() {
        return systemFlag;
    }
    public DataSourceEntity setSystemFlag(String systemFlag) {
        this.systemFlag = systemFlag;
        return this;
    }
    public String getHost() {
        return host;
    }
    public DataSourceEntity setHost(String host) {
        this.host = host;
        return this;
    }
    public String getUserid() {
        return userid;
    }
    public DataSourceEntity setUserid(String userid) {
        this.userid = userid;
        return this;
    }
    public String getPassword() {
        return password;
    }
    public DataSourceEntity setPassword(String password) {
        this.password = password;
        return this;
    }
    public String getDb() {
        return db;
    }
    public DataSourceEntity setDb(String db) {
        this.db = db;
        return this;
    }
    public String getPort() {
        return port;
    }
    public DataSourceEntity setPort(String port) {
        this.port = port;
        return this;
    }
    
    
    public byte[] getLogoIcon() {
        return logoIcon;
    }
 
    public DataSourceEntity setLogoIcon(byte[] logoIcon) {
        this.logoIcon = logoIcon;
        return this;
    }
 
    public int getActiveVersion() {
        return activeVersion;
    }
    public DataSourceEntity setActiveVersion(int activeVersion) {
        this.activeVersion = activeVersion;
        return this;
    }
    public int getDbFileMaxSize() {
        return dbFileMaxSize;
    }
    public DataSourceEntity setDbFileMaxSize(int dbFileMaxSize) {
        this.dbFileMaxSize = dbFileMaxSize;
        return this;
    }
    public int getSiteSpaceMaxSize() {
        return siteSpaceMaxSize;
    }
    public DataSourceEntity setSiteSpaceMaxSize(int siteSpaceMaxSize) {
        this.siteSpaceMaxSize = siteSpaceMaxSize;
        return this;
    }
    public String getDomain() {
        return domain;
    }
    public DataSourceEntity setDomain(String domain) {
        this.domain = domain;
        return this;
    }
    public String getSmsUid() {
        return smsUid;
    }
    public DataSourceEntity setSmsUid(String smsUid) {
        this.smsUid = smsUid;
        return this;
    }
    public String getSmsKey() {
        return smsKey;
    }
    public DataSourceEntity setSmsKey(String smsKey) {
        this.smsKey = smsKey;
        return this;
    }
    public boolean isShowAttendanceButton() {
        return isShowAttendanceButton;
    }
    public DataSourceEntity setShowAttendanceButton(boolean isShowAttendanceButton) {
        this.isShowAttendanceButton = isShowAttendanceButton;
        return this;
    }
    public int getLimitUserNumber() {
        return limitUserNumber;
    }
    public DataSourceEntity setLimitUserNumber(int limitUserNumber) {
        this.limitUserNumber = limitUserNumber;
        return this;
    }
    public int getLimitDepartmentNumber() {
        return limitDepartmentNumber;
    }
    public DataSourceEntity setLimitDepartmentNumber(int limitDepartmentNumber) {
        this.limitDepartmentNumber = limitDepartmentNumber;
        return this;
    }
    public String getSystemType() {
        return systemType;
    }
    public DataSourceEntity setSystemType(String systemType) {
        this.systemType = systemType;
        return this;
    }
    public Date getExpiredDate() {
        return expiredDate;
    }
    public DataSourceEntity setExpiredDate(Date expiredDate) {
        this.expiredDate = expiredDate;
        return this;
    }
 
    public boolean isSaas() {
        return isSaas;
    }
    public DataSourceEntity setSaas(boolean isSaas) {
        this.isSaas = isSaas;
        return this;
    }
    public boolean isSendMail() {
        return isSendMail;
    }
    public DataSourceEntity setSendMail(boolean isSendMail) {
        this.isSendMail = isSendMail;
        return this;
    }
    public String getRemarks() {
        return remarks;
    }
    public DataSourceEntity setRemarks(String remarks) {
        this.remarks = remarks;
        return this;
    }
    public int getDataCheckPageNum() {
        return dataCheckPageNum;
    }
    public DataSourceEntity setDataCheckPageNum(int dataCheckPageNum) {
        this.dataCheckPageNum = dataCheckPageNum;
        return this;
    }
    public String getCorpId() {
        return corpId;
    }
    public DataSourceEntity setCorpId(String corpId) {
        this.corpId = corpId;
        return this;
    }
 
 
    public String getCorpURL() {
        return corpURL;
    }
    public DataSourceEntity setCorpURL(String corpURL) {
        this.corpURL = corpURL;
        return this;
    }
    public String getMpAppId() {
        return mpAppId;
    }
    public DataSourceEntity setMpAppId(String mpAppId) {
        this.mpAppId = mpAppId;
        return this;
    }
    public String getMpSecret() {
        return mpSecret;
    }
    public DataSourceEntity setMpSecret(String mpSecret) {
        this.mpSecret = mpSecret;
        return this;
    }
    public String getMpToken() {
        return mpToken;
    }
    public DataSourceEntity setMpToken(String mpToken) {
        this.mpToken = mpToken;
        return this;
    }
    public String getMpAesKey() {
        return mpAesKey;
    }
    public DataSourceEntity setMpAesKey(String mpAesKey) {
        this.mpAesKey = mpAesKey;
        return this;
    }
    public String getMpOrgId() {
        return mpOrgId;
    }
    public DataSourceEntity setMpOrgId(String mpOrgId) {
        this.mpOrgId = mpOrgId;
        return this;
    }
    public String getGeoWebApiKey() {
        return geoWebApiKey;
    }
    public DataSourceEntity setGeoWebApiKey(String geoWebApiKey) {
        this.geoWebApiKey = geoWebApiKey;
        return this;
    }
    
    public boolean getActived() {
        return actived;
    }
    public DataSourceEntity setActived(boolean actived) {
        this.actived = actived;
        return this;
    }
    public Integer getExpiredDays() {
        return expiredDays;
    }
    public DataSourceEntity setExpiredDays(Integer expiredDays) {
        this.expiredDays = expiredDays;
        return this;
    }
    
    public static  DataSourceEntity build(String message){
        Gson gson=new Gson();
        DataSourceEntity msg= gson.fromJson(message,new com.google.gson.reflect.TypeToken<DataSourceEntity>() {}.getType());   //该写法报 empty string 错误,改为下面的写法
       // Message msg = MessageGsonBuilder.create().fromJson(message, Message.class);   //为了解决 empty string 错误,故重新实现取数方法  , Added by Johns Wang, 2018-11-11
        return  msg;
    }
}