Project.java 15.2 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
gary's avatar
gary committed
9
 * This class corresponds to the database table project
10 11 12
 *
 * @mbg.generated do_not_delete_during_merge
 */
gary's avatar
gary committed
13
public class Project extends BaseEntity implements Serializable {
14 15 16
    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
17
     * This field corresponds to the database column project.id
18 19 20
     *
     * @mbg.generated
     */
neo's avatar
neo committed
21
    private String id;
22 23 24 25

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
26
     * This field corresponds to the database column project.code
27 28 29 30 31 32 33 34
     *
     * @mbg.generated
     */
    private String code;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
35
     * This field corresponds to the database column project.name
36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
44
     * This field corresponds to the database column project.year
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private Integer year;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
53
     * This field corresponds to the database column project.client_code
54 55 56 57 58 59 60 61
     *
     * @mbg.generated
     */
    private String clientCode;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
62
     * This field corresponds to the database column project.is_active
63 64 65
     *
     * @mbg.generated
     */
66
    private Boolean isActive;
67 68 69 70

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
71
     * This field corresponds to the database column project.create_time
72 73 74 75 76 77 78 79
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
80
     * This field corresponds to the database column project.update_time
81 82 83 84 85 86 87 88
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
89
     * This field corresponds to the database column project.region_id
90 91 92
     *
     * @mbg.generated
     */
neo's avatar
neo committed
93
    private String regionId;
94 95 96 97

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
98
     * This field corresponds to the database column project.industry_id
99 100 101
     *
     * @mbg.generated
     */
neo's avatar
neo committed
102
    private String industryId;
103 104 105 106

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
107
     * This field corresponds to the database column project.rule_type
108 109 110 111 112 113 114 115
     *
     * @mbg.generated
     */
    private Integer ruleType;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
116
     * This field corresponds to the database column project.organization_id
117 118 119
     *
     * @mbg.generated
     */
neo's avatar
neo committed
120
    private String organizationId;
121 122 123 124

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
125
     * This field corresponds to the database column project.db_name
126 127 128 129 130 131 132 133
     *
     * @mbg.generated
     */
    private String dbName;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
134
     * This field corresponds to the database column project.enterprise_account_set_id
135 136 137
     *
     * @mbg.generated
     */
neo's avatar
neo committed
138
    private String enterpriseAccountSetId;
139 140 141 142

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
143
     * This field corresponds to the database column project.start_period
144 145 146 147 148 149 150 151
     *
     * @mbg.generated
     */
    private Integer startPeriod;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
152
     * This field corresponds to the database column project.end_period
153 154 155 156 157 158 159
     *
     * @mbg.generated
     */
    private Integer endPeriod;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
160
     * This field corresponds to the database table project
161 162 163 164 165 166 167
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
168
     * This method returns the value of the database column project.id
169
     *
gary's avatar
gary committed
170
     * @return the value of project.id
171 172 173
     *
     * @mbg.generated
     */
neo's avatar
neo committed
174 175
    public String getId() {
        return id;
176 177 178 179
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
180
     * This method sets the value of the database column project.id
181
     *
gary's avatar
gary committed
182
     * @param id the value for project.id
183 184 185
     *
     * @mbg.generated
     */
neo's avatar
neo committed
186 187
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
188 189 190 191
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
192
     * This method returns the value of the database column project.code
193
     *
gary's avatar
gary committed
194
     * @return the value of project.code
195 196 197 198 199 200 201 202 203
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
204
     * This method sets the value of the database column project.code
205
     *
gary's avatar
gary committed
206
     * @param code the value for project.code
207 208 209 210 211 212 213 214 215
     *
     * @mbg.generated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
216
     * This method returns the value of the database column project.name
217
     *
gary's avatar
gary committed
218
     * @return the value of project.name
219 220 221 222 223 224 225 226 227
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
228
     * This method sets the value of the database column project.name
229
     *
gary's avatar
gary committed
230
     * @param name the value for project.name
231 232 233 234 235 236 237 238 239
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
240
     * This method returns the value of the database column project.year
241
     *
gary's avatar
gary committed
242
     * @return the value of project.year
243 244 245 246 247 248 249 250 251
     *
     * @mbg.generated
     */
    public Integer getYear() {
        return year;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
252
     * This method sets the value of the database column project.year
253
     *
gary's avatar
gary committed
254
     * @param year the value for project.year
255 256 257 258 259 260 261 262 263
     *
     * @mbg.generated
     */
    public void setYear(Integer year) {
        this.year = year;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
264
     * This method returns the value of the database column project.client_code
265
     *
gary's avatar
gary committed
266
     * @return the value of project.client_code
267 268 269 270 271 272 273 274 275
     *
     * @mbg.generated
     */
    public String getClientCode() {
        return clientCode;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
276
     * This method sets the value of the database column project.client_code
277
     *
gary's avatar
gary committed
278
     * @param clientCode the value for project.client_code
279 280 281 282 283 284 285 286 287
     *
     * @mbg.generated
     */
    public void setClientCode(String clientCode) {
        this.clientCode = clientCode == null ? null : clientCode.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
288
     * This method returns the value of the database column project.is_active
289
     *
gary's avatar
gary committed
290
     * @return the value of project.is_active
291 292 293
     *
     * @mbg.generated
     */
294
    public Boolean getIsActive() {
295 296 297 298 299
        return isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
300
     * This method sets the value of the database column project.is_active
301
     *
gary's avatar
gary committed
302
     * @param isActive the value for project.is_active
303 304 305
     *
     * @mbg.generated
     */
306
    public void setIsActive(Boolean isActive) {
307 308 309 310 311
        this.isActive = isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
312
     * This method returns the value of the database column project.create_time
313
     *
gary's avatar
gary committed
314
     * @return the value of project.create_time
315 316 317 318 319 320 321 322 323
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
324
     * This method sets the value of the database column project.create_time
325
     *
gary's avatar
gary committed
326
     * @param createTime the value for project.create_time
327 328 329 330 331 332 333 334 335
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
336
     * This method returns the value of the database column project.update_time
337
     *
gary's avatar
gary committed
338
     * @return the value of project.update_time
339 340 341 342 343 344 345 346 347
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
348
     * This method sets the value of the database column project.update_time
349
     *
gary's avatar
gary committed
350
     * @param updateTime the value for project.update_time
351 352 353 354 355 356 357 358 359
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
360
     * This method returns the value of the database column project.region_id
361
     *
gary's avatar
gary committed
362
     * @return the value of project.region_id
363 364 365
     *
     * @mbg.generated
     */
neo's avatar
neo committed
366 367
    public String getRegionId() {
        return regionId;
368 369 370 371
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
372
     * This method sets the value of the database column project.region_id
373
     *
gary's avatar
gary committed
374
     * @param regionId the value for project.region_id
375 376 377
     *
     * @mbg.generated
     */
neo's avatar
neo committed
378 379
    public void setRegionId(String regionId) {
        this.regionId = regionId == null ? null : regionId.trim();
380 381 382 383
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
384
     * This method returns the value of the database column project.industry_id
385
     *
gary's avatar
gary committed
386
     * @return the value of project.industry_id
387 388 389
     *
     * @mbg.generated
     */
neo's avatar
neo committed
390 391
    public String getIndustryId() {
        return industryId;
392 393 394 395
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
396
     * This method sets the value of the database column project.industry_id
397
     *
gary's avatar
gary committed
398
     * @param industryId the value for project.industry_id
399 400 401
     *
     * @mbg.generated
     */
neo's avatar
neo committed
402 403
    public void setIndustryId(String industryId) {
        this.industryId = industryId == null ? null : industryId.trim();
404 405 406 407
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
408
     * This method returns the value of the database column project.rule_type
409
     *
gary's avatar
gary committed
410
     * @return the value of project.rule_type
411 412 413 414 415 416 417 418 419
     *
     * @mbg.generated
     */
    public Integer getRuleType() {
        return ruleType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
420
     * This method sets the value of the database column project.rule_type
421
     *
gary's avatar
gary committed
422
     * @param ruleType the value for project.rule_type
423 424 425 426 427 428 429 430 431
     *
     * @mbg.generated
     */
    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
432
     * This method returns the value of the database column project.organization_id
433
     *
gary's avatar
gary committed
434
     * @return the value of project.organization_id
435 436 437
     *
     * @mbg.generated
     */
neo's avatar
neo committed
438 439
    public String getOrganizationId() {
        return organizationId;
440 441 442 443
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
444
     * This method sets the value of the database column project.organization_id
445
     *
gary's avatar
gary committed
446
     * @param organizationId the value for project.organization_id
447 448 449
     *
     * @mbg.generated
     */
neo's avatar
neo committed
450 451
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId == null ? null : organizationId.trim();
452 453 454 455
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
456
     * This method returns the value of the database column project.db_name
457
     *
gary's avatar
gary committed
458
     * @return the value of project.db_name
459 460 461 462 463 464 465 466 467
     *
     * @mbg.generated
     */
    public String getDbName() {
        return dbName;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
468
     * This method sets the value of the database column project.db_name
469
     *
gary's avatar
gary committed
470
     * @param dbName the value for project.db_name
471 472 473 474 475 476 477 478 479
     *
     * @mbg.generated
     */
    public void setDbName(String dbName) {
        this.dbName = dbName == null ? null : dbName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
480
     * This method returns the value of the database column project.enterprise_account_set_id
481
     *
gary's avatar
gary committed
482
     * @return the value of project.enterprise_account_set_id
483 484 485
     *
     * @mbg.generated
     */
neo's avatar
neo committed
486 487
    public String getEnterpriseAccountSetId() {
        return enterpriseAccountSetId;
488 489 490 491
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
492
     * This method sets the value of the database column project.enterprise_account_set_id
493
     *
gary's avatar
gary committed
494
     * @param enterpriseAccountSetId the value for project.enterprise_account_set_id
495 496 497
     *
     * @mbg.generated
     */
neo's avatar
neo committed
498 499
    public void setEnterpriseAccountSetId(String enterpriseAccountSetId) {
        this.enterpriseAccountSetId = enterpriseAccountSetId == null ? null : enterpriseAccountSetId.trim();
500 501 502 503
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
504
     * This method returns the value of the database column project.start_period
505
     *
gary's avatar
gary committed
506
     * @return the value of project.start_period
507 508 509 510 511 512 513 514 515
     *
     * @mbg.generated
     */
    public Integer getStartPeriod() {
        return startPeriod;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
516
     * This method sets the value of the database column project.start_period
517
     *
gary's avatar
gary committed
518
     * @param startPeriod the value for project.start_period
519 520 521 522 523 524 525 526 527
     *
     * @mbg.generated
     */
    public void setStartPeriod(Integer startPeriod) {
        this.startPeriod = startPeriod;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
528
     * This method returns the value of the database column project.end_period
529
     *
gary's avatar
gary committed
530
     * @return the value of project.end_period
531 532 533 534 535 536 537 538 539
     *
     * @mbg.generated
     */
    public Integer getEndPeriod() {
        return endPeriod;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
540
     * This method sets the value of the database column project.end_period
541
     *
gary's avatar
gary committed
542
     * @param endPeriod the value for project.end_period
543 544 545 546 547 548 549 550 551
     *
     * @mbg.generated
     */
    public void setEndPeriod(Integer endPeriod) {
        this.endPeriod = endPeriod;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
552
     * This method corresponds to the database table project
553 554 555 556 557 558 559 560 561
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
neo's avatar
neo committed
562
        sb.append(", id=").append(id);
563 564 565 566 567 568 569
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", year=").append(year);
        sb.append(", clientCode=").append(clientCode);
        sb.append(", isActive=").append(isActive);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
neo's avatar
neo committed
570 571
        sb.append(", regionId=").append(regionId);
        sb.append(", industryId=").append(industryId);
572
        sb.append(", ruleType=").append(ruleType);
neo's avatar
neo committed
573
        sb.append(", organizationId=").append(organizationId);
574
        sb.append(", dbName=").append(dbName);
neo's avatar
neo committed
575
        sb.append(", enterpriseAccountSetId=").append(enterpriseAccountSetId);
576 577 578 579 580 581
        sb.append(", startPeriod=").append(startPeriod);
        sb.append(", endPeriod=").append(endPeriod);
        sb.append("]");
        return sb.toString();
    }
}