CellTemplateConfig.java 21 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 cell_template_config
10 11 12
 *
 * @mbg.generated do_not_delete_during_merge
 */
gary's avatar
gary committed
13
public class CellTemplateConfig 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 cell_template_config.id
18 19 20
     *
     * @mbg.generated
     */
21
    private Long 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 cell_template_config.cell_template_id
27 28 29
     *
     * @mbg.generated
     */
30
    private Long cellTemplateId;
31 32 33 34

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

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

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
98
     * This field corresponds to the database column cell_template_config.invoice_amount_type
99 100 101 102 103 104 105 106
     *
     * @mbg.generated
     */
    private Integer invoiceAmountType;

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

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

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
152
     * This field corresponds to the database column cell_template_config.invoice_category
153 154 155 156 157 158 159 160
     *
     * @mbg.generated
     */
    private String invoiceCategory;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
161
     * This field corresponds to the database column cell_template_config.formula_data_source
162 163 164 165 166 167 168 169
     *
     * @mbg.generated
     */
    private String formulaDataSource;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
170
     * This field corresponds to the database column cell_template_config.validation
171 172 173 174 175 176 177 178
     *
     * @mbg.generated
     */
    private String validation;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
179
     * This field corresponds to the database column cell_template_config.validation_description
180 181 182 183 184 185 186 187
     *
     * @mbg.generated
     */
    private String validationDescription;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
188
     * This field corresponds to the database column cell_template_config.voucher_keyword
189 190 191 192 193 194 195
     *
     * @mbg.generated
     */
    private String voucherKeyword;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
196
     * This field corresponds to the database table cell_template_config
197 198 199 200 201 202 203
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
204
     * This method returns the value of the database column cell_template_config.id
205
     *
gary's avatar
gary committed
206
     * @return the value of cell_template_config.id
207 208 209
     *
     * @mbg.generated
     */
210 211
    public Long getId() {
        return id;
212 213 214 215
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
216
     * This method sets the value of the database column cell_template_config.id
217
     *
gary's avatar
gary committed
218
     * @param id the value for cell_template_config.id
219 220 221
     *
     * @mbg.generated
     */
222 223
    public void setId(Long id) {
        this.id = id;
224 225 226 227
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
228
     * This method returns the value of the database column cell_template_config.cell_template_id
229
     *
gary's avatar
gary committed
230
     * @return the value of cell_template_config.cell_template_id
231 232 233
     *
     * @mbg.generated
     */
234 235
    public Long getCellTemplateId() {
        return cellTemplateId;
236 237 238 239
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
240
     * This method sets the value of the database column cell_template_config.cell_template_id
241
     *
gary's avatar
gary committed
242
     * @param cellTemplateId the value for cell_template_config.cell_template_id
243 244 245
     *
     * @mbg.generated
     */
246 247
    public void setCellTemplateId(Long cellTemplateId) {
        this.cellTemplateId = cellTemplateId;
248 249 250 251
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
252
     * This method returns the value of the database column cell_template_config.report_template_id
253
     *
gary's avatar
gary committed
254
     * @return the value of cell_template_config.report_template_id
255 256 257
     *
     * @mbg.generated
     */
258 259
    public Long getReportTemplateId() {
        return reportTemplateId;
260 261 262 263
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
264
     * This method sets the value of the database column cell_template_config.report_template_id
265
     *
gary's avatar
gary committed
266
     * @param reportTemplateId the value for cell_template_config.report_template_id
267 268 269
     *
     * @mbg.generated
     */
270 271
    public void setReportTemplateId(Long reportTemplateId) {
        this.reportTemplateId = reportTemplateId;
272 273 274 275
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
276
     * This method returns the value of the database column cell_template_config.data_source_type
277
     *
gary's avatar
gary committed
278
     * @return the value of cell_template_config.data_source_type
279 280 281
     *
     * @mbg.generated
     */
282
    public Integer getDataSourceType() {
283 284 285 286 287
        return dataSourceType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
288
     * This method sets the value of the database column cell_template_config.data_source_type
289
     *
gary's avatar
gary committed
290
     * @param dataSourceType the value for cell_template_config.data_source_type
291 292 293
     *
     * @mbg.generated
     */
294
    public void setDataSourceType(Integer dataSourceType) {
295 296 297 298 299
        this.dataSourceType = dataSourceType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
300
     * This method returns the value of the database column cell_template_config.formula
301
     *
gary's avatar
gary committed
302
     * @return the value of cell_template_config.formula
303 304 305 306 307 308 309 310 311
     *
     * @mbg.generated
     */
    public String getFormula() {
        return formula;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
312
     * This method sets the value of the database column cell_template_config.formula
313
     *
gary's avatar
gary committed
314
     * @param formula the value for cell_template_config.formula
315 316 317 318 319 320 321 322 323
     *
     * @mbg.generated
     */
    public void setFormula(String formula) {
        this.formula = formula == null ? null : formula.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
324
     * This method returns the value of the database column cell_template_config.formula_description
325
     *
gary's avatar
gary committed
326
     * @return the value of cell_template_config.formula_description
327 328 329 330 331 332 333 334 335
     *
     * @mbg.generated
     */
    public String getFormulaDescription() {
        return formulaDescription;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
336
     * This method sets the value of the database column cell_template_config.formula_description
337
     *
gary's avatar
gary committed
338
     * @param formulaDescription the value for cell_template_config.formula_description
339 340 341 342 343 344 345 346 347
     *
     * @mbg.generated
     */
    public void setFormulaDescription(String formulaDescription) {
        this.formulaDescription = formulaDescription == null ? null : formulaDescription.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
348
     * This method returns the value of the database column cell_template_config.account_codes
349
     *
gary's avatar
gary committed
350
     * @return the value of cell_template_config.account_codes
351 352 353 354 355 356 357 358 359
     *
     * @mbg.generated
     */
    public String getAccountCodes() {
        return accountCodes;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
360
     * This method sets the value of the database column cell_template_config.account_codes
361
     *
gary's avatar
gary committed
362
     * @param accountCodes the value for cell_template_config.account_codes
363 364 365 366 367 368 369 370 371
     *
     * @mbg.generated
     */
    public void setAccountCodes(String accountCodes) {
        this.accountCodes = accountCodes == null ? null : accountCodes.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
372
     * This method returns the value of the database column cell_template_config.invoice_type
373
     *
gary's avatar
gary committed
374
     * @return the value of cell_template_config.invoice_type
375 376 377 378 379 380 381 382 383
     *
     * @mbg.generated
     */
    public Integer getInvoiceType() {
        return invoiceType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
384
     * This method sets the value of the database column cell_template_config.invoice_type
385
     *
gary's avatar
gary committed
386
     * @param invoiceType the value for cell_template_config.invoice_type
387 388 389 390 391 392 393 394 395
     *
     * @mbg.generated
     */
    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
396
     * This method returns the value of the database column cell_template_config.tax_rate
397
     *
gary's avatar
gary committed
398
     * @return the value of cell_template_config.tax_rate
399 400 401 402 403 404 405 406 407
     *
     * @mbg.generated
     */
    public String getTaxRate() {
        return taxRate;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
408
     * This method sets the value of the database column cell_template_config.tax_rate
409
     *
gary's avatar
gary committed
410
     * @param taxRate the value for cell_template_config.tax_rate
411 412 413 414 415 416 417 418 419
     *
     * @mbg.generated
     */
    public void setTaxRate(String taxRate) {
        this.taxRate = taxRate == null ? null : taxRate.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
420
     * This method returns the value of the database column cell_template_config.invoice_amount_type
421
     *
gary's avatar
gary committed
422
     * @return the value of cell_template_config.invoice_amount_type
423 424 425 426 427 428 429 430 431
     *
     * @mbg.generated
     */
    public Integer getInvoiceAmountType() {
        return invoiceAmountType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
432
     * This method sets the value of the database column cell_template_config.invoice_amount_type
433
     *
gary's avatar
gary committed
434
     * @param invoiceAmountType the value for cell_template_config.invoice_amount_type
435 436 437 438 439 440 441 442 443
     *
     * @mbg.generated
     */
    public void setInvoiceAmountType(Integer invoiceAmountType) {
        this.invoiceAmountType = invoiceAmountType;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
444
     * This method returns the value of the database column cell_template_config.model_ids
445
     *
gary's avatar
gary committed
446
     * @return the value of cell_template_config.model_ids
447 448 449
     *
     * @mbg.generated
     */
450 451
    public String getModelIds() {
        return modelIds;
452 453 454 455
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
456
     * This method sets the value of the database column cell_template_config.model_ids
457
     *
gary's avatar
gary committed
458
     * @param modelIds the value for cell_template_config.model_ids
459 460 461
     *
     * @mbg.generated
     */
462 463
    public void setModelIds(String modelIds) {
        this.modelIds = modelIds == null ? null : modelIds.trim();
464 465 466 467
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
468
     * This method returns the value of the database column cell_template_config.create_by
469
     *
gary's avatar
gary committed
470
     * @return the value of cell_template_config.create_by
471 472 473
     *
     * @mbg.generated
     */
474 475
    public String getCreateBy() {
        return createBy;
476 477 478 479
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
480
     * This method sets the value of the database column cell_template_config.create_by
481
     *
gary's avatar
gary committed
482
     * @param createBy the value for cell_template_config.create_by
483 484 485
     *
     * @mbg.generated
     */
486 487
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
488 489 490 491
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
492
     * This method returns the value of the database column cell_template_config.create_time
493
     *
gary's avatar
gary committed
494
     * @return the value of cell_template_config.create_time
495 496 497 498 499 500 501 502 503
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
504
     * This method sets the value of the database column cell_template_config.create_time
505
     *
gary's avatar
gary committed
506
     * @param createTime the value for cell_template_config.create_time
507 508 509 510 511 512 513 514 515
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
516
     * This method returns the value of the database column cell_template_config.update_by
517
     *
gary's avatar
gary committed
518
     * @return the value of cell_template_config.update_by
519 520 521
     *
     * @mbg.generated
     */
522 523
    public String getUpdateBy() {
        return updateBy;
524 525 526 527
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
528
     * This method sets the value of the database column cell_template_config.update_by
529
     *
gary's avatar
gary committed
530
     * @param updateBy the value for cell_template_config.update_by
531 532 533
     *
     * @mbg.generated
     */
534 535
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
536 537 538 539
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
540
     * This method returns the value of the database column cell_template_config.update_time
541
     *
gary's avatar
gary committed
542
     * @return the value of cell_template_config.update_time
543 544 545 546 547 548 549 550 551
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
552
     * This method sets the value of the database column cell_template_config.update_time
553
     *
gary's avatar
gary committed
554
     * @param updateTime the value for cell_template_config.update_time
555 556 557 558 559 560 561 562 563
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
564
     * This method returns the value of the database column cell_template_config.invoice_category
565
     *
gary's avatar
gary committed
566
     * @return the value of cell_template_config.invoice_category
567 568 569 570 571 572 573 574 575
     *
     * @mbg.generated
     */
    public String getInvoiceCategory() {
        return invoiceCategory;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
576
     * This method sets the value of the database column cell_template_config.invoice_category
577
     *
gary's avatar
gary committed
578
     * @param invoiceCategory the value for cell_template_config.invoice_category
579 580 581 582 583 584 585 586 587
     *
     * @mbg.generated
     */
    public void setInvoiceCategory(String invoiceCategory) {
        this.invoiceCategory = invoiceCategory == null ? null : invoiceCategory.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
588
     * This method returns the value of the database column cell_template_config.formula_data_source
589
     *
gary's avatar
gary committed
590
     * @return the value of cell_template_config.formula_data_source
591 592 593 594 595 596 597 598 599
     *
     * @mbg.generated
     */
    public String getFormulaDataSource() {
        return formulaDataSource;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
600
     * This method sets the value of the database column cell_template_config.formula_data_source
601
     *
gary's avatar
gary committed
602
     * @param formulaDataSource the value for cell_template_config.formula_data_source
603 604 605 606 607 608 609 610 611
     *
     * @mbg.generated
     */
    public void setFormulaDataSource(String formulaDataSource) {
        this.formulaDataSource = formulaDataSource == null ? null : formulaDataSource.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
612
     * This method returns the value of the database column cell_template_config.validation
613
     *
gary's avatar
gary committed
614
     * @return the value of cell_template_config.validation
615 616 617 618 619 620 621 622 623
     *
     * @mbg.generated
     */
    public String getValidation() {
        return validation;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
624
     * This method sets the value of the database column cell_template_config.validation
625
     *
gary's avatar
gary committed
626
     * @param validation the value for cell_template_config.validation
627 628 629 630 631 632 633 634 635
     *
     * @mbg.generated
     */
    public void setValidation(String validation) {
        this.validation = validation == null ? null : validation.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
636
     * This method returns the value of the database column cell_template_config.validation_description
637
     *
gary's avatar
gary committed
638
     * @return the value of cell_template_config.validation_description
639 640 641 642 643 644 645 646 647
     *
     * @mbg.generated
     */
    public String getValidationDescription() {
        return validationDescription;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
648
     * This method sets the value of the database column cell_template_config.validation_description
649
     *
gary's avatar
gary committed
650
     * @param validationDescription the value for cell_template_config.validation_description
651 652 653 654 655 656 657 658 659
     *
     * @mbg.generated
     */
    public void setValidationDescription(String validationDescription) {
        this.validationDescription = validationDescription == null ? null : validationDescription.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
660
     * This method returns the value of the database column cell_template_config.voucher_keyword
661
     *
gary's avatar
gary committed
662
     * @return the value of cell_template_config.voucher_keyword
663 664 665 666 667 668 669 670 671
     *
     * @mbg.generated
     */
    public String getVoucherKeyword() {
        return voucherKeyword;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
672
     * This method sets the value of the database column cell_template_config.voucher_keyword
673
     *
gary's avatar
gary committed
674
     * @param voucherKeyword the value for cell_template_config.voucher_keyword
675 676 677 678 679 680 681 682 683
     *
     * @mbg.generated
     */
    public void setVoucherKeyword(String voucherKeyword) {
        this.voucherKeyword = voucherKeyword == null ? null : voucherKeyword.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
684
     * This method corresponds to the database table cell_template_config
685 686 687 688 689 690 691 692 693
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
694 695 696
        sb.append(", id=").append(id);
        sb.append(", cellTemplateId=").append(cellTemplateId);
        sb.append(", reportTemplateId=").append(reportTemplateId);
697 698 699 700 701 702 703
        sb.append(", dataSourceType=").append(dataSourceType);
        sb.append(", formula=").append(formula);
        sb.append(", formulaDescription=").append(formulaDescription);
        sb.append(", accountCodes=").append(accountCodes);
        sb.append(", invoiceType=").append(invoiceType);
        sb.append(", taxRate=").append(taxRate);
        sb.append(", invoiceAmountType=").append(invoiceAmountType);
704 705
        sb.append(", modelIds=").append(modelIds);
        sb.append(", createBy=").append(createBy);
706
        sb.append(", createTime=").append(createTime);
707
        sb.append(", updateBy=").append(updateBy);
708 709 710 711 712 713 714 715 716 717
        sb.append(", updateTime=").append(updateTime);
        sb.append(", invoiceCategory=").append(invoiceCategory);
        sb.append(", formulaDataSource=").append(formulaDataSource);
        sb.append(", validation=").append(validation);
        sb.append(", validationDescription=").append(validationDescription);
        sb.append(", voucherKeyword=").append(voucherKeyword);
        sb.append("]");
        return sb.toString();
    }
}