PeriodCellTemplate.java 16.1 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1
package pwc.taxtech.atms.vat.entity;
2 3 4 5 6 7 8

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
26
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.PERIOD
27 28 29 30 31 32 33 34
     *
     * @mbg.generated
     */
    private Integer period;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
62
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.COLUMN_INDEX
63 64 65 66 67 68 69 70
     *
     * @mbg.generated
     */
    private Integer columnIndex;

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

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
80
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.COMMENT
81 82 83 84 85 86 87 88
     *
     * @mbg.generated
     */
    private String comment;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
89
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.CREATE_TIME
90 91 92 93 94 95 96 97
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
98
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.UPDATE_TIME
99 100 101 102 103 104 105 106
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
107
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.CELL_TEMPLATE_ID
108 109 110
     *
     * @mbg.generated
     */
111
    private Long cellTemplateId;
112 113 114 115

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
116
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.DATA_TYPE
117 118 119 120 121
     *
     * @mbg.generated
     */
    private Integer dataType;

122 123 124
    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
125
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.IS_READ_ONLY
126 127 128
     *
     * @mbg.generated
     */
neo's avatar
neo committed
129
    private Integer isReadOnly;
130 131 132 133

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
134
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.COPY_FROM_ID
135 136 137 138 139 140 141 142
     *
     * @mbg.generated
     */
    private Long copyFromId;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
143
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.CREATE_BY
144 145 146 147 148
     *
     * @mbg.generated
     */
    private String createBy;

149 150 151
    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
152
     * This field corresponds to the database column PERIOD_CELL_TEMPLATE.UPDATE_BY
153 154 155
     *
     * @mbg.generated
     */
156
    private String updateBy;
157 158 159

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

    /**
     * This method was generated by MyBatis Generator.
168
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.id
169
     *
170
     * @return the value of PERIOD_CELL_TEMPLATE.id
171 172 173
     *
     * @mbg.generated
     */
174 175
    public Long getId() {
        return id;
176 177 178 179
    }

    /**
     * This method was generated by MyBatis Generator.
180
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.id
181
     *
182
     * @param id the value for PERIOD_CELL_TEMPLATE.id
183 184 185
     *
     * @mbg.generated
     */
186 187
    public void setId(Long id) {
        this.id = id;
188 189 190 191
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
192
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.PERIOD
193
     *
neo's avatar
neo committed
194
     * @return the value of PERIOD_CELL_TEMPLATE.PERIOD
195 196 197 198 199 200 201 202 203
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
204
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.PERIOD
205
     *
neo's avatar
neo committed
206
     * @param period the value for PERIOD_CELL_TEMPLATE.PERIOD
207 208 209 210 211 212 213 214 215
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
216
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.REPORT_TEMPLATE_ID
217
     *
neo's avatar
neo committed
218
     * @return the value of PERIOD_CELL_TEMPLATE.REPORT_TEMPLATE_ID
219 220 221
     *
     * @mbg.generated
     */
222
    public Long getReportTemplateId() {
223 224 225 226 227
        return reportTemplateId;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
228
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.REPORT_TEMPLATE_ID
229
     *
neo's avatar
neo committed
230
     * @param reportTemplateId the value for PERIOD_CELL_TEMPLATE.REPORT_TEMPLATE_ID
231 232 233
     *
     * @mbg.generated
     */
234 235
    public void setReportTemplateId(Long reportTemplateId) {
        this.reportTemplateId = reportTemplateId;
236 237 238 239
    }

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
288
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.COLUMN_INDEX
289
     *
neo's avatar
neo committed
290
     * @return the value of PERIOD_CELL_TEMPLATE.COLUMN_INDEX
291 292 293 294 295 296 297 298 299
     *
     * @mbg.generated
     */
    public Integer getColumnIndex() {
        return columnIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
300
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.COLUMN_INDEX
301
     *
neo's avatar
neo committed
302
     * @param columnIndex the value for PERIOD_CELL_TEMPLATE.COLUMN_INDEX
303 304 305 306 307 308 309 310 311
     *
     * @mbg.generated
     */
    public void setColumnIndex(Integer columnIndex) {
        this.columnIndex = columnIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
312
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.COLUMN_NAME
313
     *
neo's avatar
neo committed
314
     * @return the value of PERIOD_CELL_TEMPLATE.COLUMN_NAME
315 316 317 318 319 320 321 322 323
     *
     * @mbg.generated
     */
    public String getColumnName() {
        return columnName;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
324
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.COLUMN_NAME
325
     *
neo's avatar
neo committed
326
     * @param columnName the value for PERIOD_CELL_TEMPLATE.COLUMN_NAME
327 328 329 330 331 332 333 334 335
     *
     * @mbg.generated
     */
    public void setColumnName(String columnName) {
        this.columnName = columnName == null ? null : columnName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
336
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.COMMENT
337
     *
neo's avatar
neo committed
338
     * @return the value of PERIOD_CELL_TEMPLATE.COMMENT
339 340 341 342 343 344 345 346 347
     *
     * @mbg.generated
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
348
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.COMMENT
349
     *
neo's avatar
neo committed
350
     * @param comment the value for PERIOD_CELL_TEMPLATE.COMMENT
351 352 353 354 355 356 357 358 359
     *
     * @mbg.generated
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
360
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.CREATE_TIME
361
     *
neo's avatar
neo committed
362
     * @return the value of PERIOD_CELL_TEMPLATE.CREATE_TIME
363 364 365 366 367 368 369 370 371
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
372
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.CREATE_TIME
373
     *
neo's avatar
neo committed
374
     * @param createTime the value for PERIOD_CELL_TEMPLATE.CREATE_TIME
375 376 377 378 379 380 381 382 383
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
384
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.UPDATE_TIME
385
     *
neo's avatar
neo committed
386
     * @return the value of PERIOD_CELL_TEMPLATE.UPDATE_TIME
387 388 389 390 391 392 393 394 395
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
396
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.UPDATE_TIME
397
     *
neo's avatar
neo committed
398
     * @param updateTime the value for PERIOD_CELL_TEMPLATE.UPDATE_TIME
399 400 401 402 403 404 405 406 407
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
408
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.CELL_TEMPLATE_ID
409
     *
neo's avatar
neo committed
410
     * @return the value of PERIOD_CELL_TEMPLATE.CELL_TEMPLATE_ID
411 412 413
     *
     * @mbg.generated
     */
414 415
    public Long getCellTemplateId() {
        return cellTemplateId;
416 417 418 419
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
420
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.CELL_TEMPLATE_ID
421
     *
neo's avatar
neo committed
422
     * @param cellTemplateId the value for PERIOD_CELL_TEMPLATE.CELL_TEMPLATE_ID
423 424 425
     *
     * @mbg.generated
     */
426 427
    public void setCellTemplateId(Long cellTemplateId) {
        this.cellTemplateId = cellTemplateId;
428 429 430 431
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
432
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.DATA_TYPE
433
     *
neo's avatar
neo committed
434
     * @return the value of PERIOD_CELL_TEMPLATE.DATA_TYPE
435 436 437 438 439 440 441 442 443
     *
     * @mbg.generated
     */
    public Integer getDataType() {
        return dataType;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
444
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.DATA_TYPE
445
     *
neo's avatar
neo committed
446
     * @param dataType the value for PERIOD_CELL_TEMPLATE.DATA_TYPE
447 448 449 450 451 452 453 454 455
     *
     * @mbg.generated
     */
    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
456
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.IS_READ_ONLY
457
     *
neo's avatar
neo committed
458
     * @return the value of PERIOD_CELL_TEMPLATE.IS_READ_ONLY
459 460 461
     *
     * @mbg.generated
     */
neo's avatar
neo committed
462
    public Integer getIsReadOnly() {
463 464 465 466 467
        return isReadOnly;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
468
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.IS_READ_ONLY
469
     *
neo's avatar
neo committed
470
     * @param isReadOnly the value for PERIOD_CELL_TEMPLATE.IS_READ_ONLY
471 472 473
     *
     * @mbg.generated
     */
neo's avatar
neo committed
474
    public void setIsReadOnly(Integer isReadOnly) {
475 476 477 478 479
        this.isReadOnly = isReadOnly;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
480
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.COPY_FROM_ID
481
     *
neo's avatar
neo committed
482
     * @return the value of PERIOD_CELL_TEMPLATE.COPY_FROM_ID
483 484 485 486 487 488 489 490 491
     *
     * @mbg.generated
     */
    public Long getCopyFromId() {
        return copyFromId;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
492
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.COPY_FROM_ID
493
     *
neo's avatar
neo committed
494
     * @param copyFromId the value for PERIOD_CELL_TEMPLATE.COPY_FROM_ID
495 496 497 498 499 500 501 502 503
     *
     * @mbg.generated
     */
    public void setCopyFromId(Long copyFromId) {
        this.copyFromId = copyFromId;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
504
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.CREATE_BY
505
     *
neo's avatar
neo committed
506
     * @return the value of PERIOD_CELL_TEMPLATE.CREATE_BY
507 508 509 510 511 512 513 514 515
     *
     * @mbg.generated
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
516
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.CREATE_BY
517
     *
neo's avatar
neo committed
518
     * @param createBy the value for PERIOD_CELL_TEMPLATE.CREATE_BY
519 520 521 522 523 524 525 526 527
     *
     * @mbg.generated
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
528
     * This method returns the value of the database column PERIOD_CELL_TEMPLATE.UPDATE_BY
529
     *
neo's avatar
neo committed
530
     * @return the value of PERIOD_CELL_TEMPLATE.UPDATE_BY
531 532 533 534 535 536 537 538 539
     *
     * @mbg.generated
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
540
     * This method sets the value of the database column PERIOD_CELL_TEMPLATE.UPDATE_BY
541
     *
neo's avatar
neo committed
542
     * @param updateBy the value for PERIOD_CELL_TEMPLATE.UPDATE_BY
543 544 545 546 547 548 549 550 551
     *
     * @mbg.generated
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
552
     * This method corresponds to the database table PERIOD_CELL_TEMPLATE
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());
562 563 564
        sb.append(", id=").append(id);
        sb.append(", period=").append(period);
        sb.append(", reportTemplateId=").append(reportTemplateId);
565 566 567 568 569 570 571
        sb.append(", rowIndex=").append(rowIndex);
        sb.append(", rowName=").append(rowName);
        sb.append(", columnIndex=").append(columnIndex);
        sb.append(", columnName=").append(columnName);
        sb.append(", comment=").append(comment);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
572
        sb.append(", cellTemplateId=").append(cellTemplateId);
573 574
        sb.append(", dataType=").append(dataType);
        sb.append(", isReadOnly=").append(isReadOnly);
575 576 577
        sb.append(", copyFromId=").append(copyFromId);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
578 579 580 581
        sb.append("]");
        return sb.toString();
    }
}