Template.java 13.4 KB
Newer Older
1 2 3 4 5 6 7 8
package pwc.taxtech.atms.entitiy;

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
26
     * This field corresponds to the database column template.name
27 28 29 30 31 32 33 34
     *
     * @mbg.generated
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
35
     * This field corresponds to the database column template.code
36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    private String code;

    /**
     *
     * This field was generated by MyBatis Generator.
44
     * This field corresponds to the database column template.path
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private String path;

    /**
     *
     * This field was generated by MyBatis Generator.
53
     * This field corresponds to the database column template.report_type
54 55 56 57 58 59 60 61
     *
     * @mbg.generated
     */
    private Integer reportType;

    /**
     *
     * This field was generated by MyBatis Generator.
62
     * This field corresponds to the database column template.template_group_id
63 64 65
     *
     * @mbg.generated
     */
66
    private Long templateGroupId;
67 68 69 70

    /**
     *
     * This field was generated by MyBatis Generator.
71
     * This field corresponds to the database column template.order_index
72 73 74 75 76 77 78 79
     *
     * @mbg.generated
     */
    private Integer orderIndex;

    /**
     *
     * This field was generated by MyBatis Generator.
80
     * This field corresponds to the database column template.create_time
81 82 83 84 85 86 87 88
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
89
     * This field corresponds to the database column template.update_time
90 91 92 93 94 95 96 97
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
98
     * This field corresponds to the database column template.is_system_type
99 100 101 102 103 104 105 106
     *
     * @mbg.generated
     */
    private Boolean isSystemType;

    /**
     *
     * This field was generated by MyBatis Generator.
107
     * This field corresponds to the database column template.is_active_association
108 109 110 111 112 113 114 115
     *
     * @mbg.generated
     */
    private Boolean isActiveAssociation;

    /**
     *
     * This field was generated by MyBatis Generator.
116
     * This field corresponds to the database column template.parent_id
117 118 119 120 121 122
     *
     * @mbg.generated
     */
    private String parentId;

    /**
123 124 125 126 127 128 129 130 131 132
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column template.create_by
     *
     * @mbg.generated
     */
    private String createBy;

    /**
     *
133
     * This field was generated by MyBatis Generator.
134 135 136 137 138 139 140 141 142
     * This field corresponds to the database column template.update_by
     *
     * @mbg.generated
     */
    private String updateBy;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table template
143 144 145 146 147 148 149
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
150
     * This method returns the value of the database column template.id
151
     *
152
     * @return the value of template.id
153 154 155
     *
     * @mbg.generated
     */
156 157
    public Long getId() {
        return id;
158 159 160 161
    }

    /**
     * This method was generated by MyBatis Generator.
162
     * This method sets the value of the database column template.id
163
     *
164
     * @param id the value for template.id
165 166 167
     *
     * @mbg.generated
     */
168 169
    public void setId(Long id) {
        this.id = id;
170 171 172 173
    }

    /**
     * This method was generated by MyBatis Generator.
174
     * This method returns the value of the database column template.name
175
     *
176
     * @return the value of template.name
177 178 179 180 181 182 183 184 185
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
186
     * This method sets the value of the database column template.name
187
     *
188
     * @param name the value for template.name
189 190 191 192 193 194 195 196 197
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
198
     * This method returns the value of the database column template.code
199
     *
200
     * @return the value of template.code
201 202 203 204 205 206 207 208 209
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
210
     * This method sets the value of the database column template.code
211
     *
212
     * @param code the value for template.code
213 214 215 216 217 218 219 220 221
     *
     * @mbg.generated
     */
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
222
     * This method returns the value of the database column template.path
223
     *
224
     * @return the value of template.path
225 226 227 228 229 230 231 232 233
     *
     * @mbg.generated
     */
    public String getPath() {
        return path;
    }

    /**
     * This method was generated by MyBatis Generator.
234
     * This method sets the value of the database column template.path
235
     *
236
     * @param path the value for template.path
237 238 239 240 241 242 243 244 245
     *
     * @mbg.generated
     */
    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
246
     * This method returns the value of the database column template.report_type
247
     *
248
     * @return the value of template.report_type
249 250 251 252 253 254 255 256 257
     *
     * @mbg.generated
     */
    public Integer getReportType() {
        return reportType;
    }

    /**
     * This method was generated by MyBatis Generator.
258
     * This method sets the value of the database column template.report_type
259
     *
260
     * @param reportType the value for template.report_type
261 262 263 264 265 266 267 268 269
     *
     * @mbg.generated
     */
    public void setReportType(Integer reportType) {
        this.reportType = reportType;
    }

    /**
     * This method was generated by MyBatis Generator.
270
     * This method returns the value of the database column template.template_group_id
271
     *
272
     * @return the value of template.template_group_id
273 274 275
     *
     * @mbg.generated
     */
276 277
    public Long getTemplateGroupId() {
        return templateGroupId;
278 279 280 281
    }

    /**
     * This method was generated by MyBatis Generator.
282
     * This method sets the value of the database column template.template_group_id
283
     *
284
     * @param templateGroupId the value for template.template_group_id
285 286 287
     *
     * @mbg.generated
     */
288 289
    public void setTemplateGroupId(Long templateGroupId) {
        this.templateGroupId = templateGroupId;
290 291 292 293
    }

    /**
     * This method was generated by MyBatis Generator.
294
     * This method returns the value of the database column template.order_index
295
     *
296
     * @return the value of template.order_index
297 298 299 300 301 302 303 304 305
     *
     * @mbg.generated
     */
    public Integer getOrderIndex() {
        return orderIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
306
     * This method sets the value of the database column template.order_index
307
     *
308
     * @param orderIndex the value for template.order_index
309 310 311 312 313 314 315 316 317
     *
     * @mbg.generated
     */
    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
318
     * This method returns the value of the database column template.create_time
319
     *
320
     * @return the value of template.create_time
321 322 323 324 325 326 327 328 329
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
330
     * This method sets the value of the database column template.create_time
331
     *
332
     * @param createTime the value for template.create_time
333 334 335 336 337 338 339 340 341
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
342
     * This method returns the value of the database column template.update_time
343
     *
344
     * @return the value of template.update_time
345 346 347 348 349 350 351 352 353
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
354
     * This method sets the value of the database column template.update_time
355
     *
356
     * @param updateTime the value for template.update_time
357 358 359 360 361 362 363 364 365
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
366
     * This method returns the value of the database column template.is_system_type
367
     *
368
     * @return the value of template.is_system_type
369 370 371 372 373 374 375 376 377
     *
     * @mbg.generated
     */
    public Boolean getIsSystemType() {
        return isSystemType;
    }

    /**
     * This method was generated by MyBatis Generator.
378
     * This method sets the value of the database column template.is_system_type
379
     *
380
     * @param isSystemType the value for template.is_system_type
381 382 383 384 385 386 387 388 389
     *
     * @mbg.generated
     */
    public void setIsSystemType(Boolean isSystemType) {
        this.isSystemType = isSystemType;
    }

    /**
     * This method was generated by MyBatis Generator.
390
     * This method returns the value of the database column template.is_active_association
391
     *
392
     * @return the value of template.is_active_association
393 394 395 396 397 398 399 400 401
     *
     * @mbg.generated
     */
    public Boolean getIsActiveAssociation() {
        return isActiveAssociation;
    }

    /**
     * This method was generated by MyBatis Generator.
402
     * This method sets the value of the database column template.is_active_association
403
     *
404
     * @param isActiveAssociation the value for template.is_active_association
405 406 407 408 409 410 411 412 413
     *
     * @mbg.generated
     */
    public void setIsActiveAssociation(Boolean isActiveAssociation) {
        this.isActiveAssociation = isActiveAssociation;
    }

    /**
     * This method was generated by MyBatis Generator.
414
     * This method returns the value of the database column template.parent_id
415
     *
416
     * @return the value of template.parent_id
417 418 419 420 421 422 423 424 425
     *
     * @mbg.generated
     */
    public String getParentId() {
        return parentId;
    }

    /**
     * This method was generated by MyBatis Generator.
426
     * This method sets the value of the database column template.parent_id
427
     *
428
     * @param parentId the value for template.parent_id
429 430 431 432 433 434 435 436 437
     *
     * @mbg.generated
     */
    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
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
     * This method returns the value of the database column template.create_by
     *
     * @return the value of template.create_by
     *
     * @mbg.generated
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column template.create_by
     *
     * @param createBy the value for template.create_by
     *
     * @mbg.generated
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column template.update_by
     *
     * @return the value of template.update_by
     *
     * @mbg.generated
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column template.update_by
     *
     * @param updateBy the value for template.update_by
     *
     * @mbg.generated
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table template
487 488 489 490 491 492 493 494 495
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
496
        sb.append(", id=").append(id);
497 498 499 500
        sb.append(", name=").append(name);
        sb.append(", code=").append(code);
        sb.append(", path=").append(path);
        sb.append(", reportType=").append(reportType);
501
        sb.append(", templateGroupId=").append(templateGroupId);
502 503 504 505 506 507
        sb.append(", orderIndex=").append(orderIndex);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", isSystemType=").append(isSystemType);
        sb.append(", isActiveAssociation=").append(isActiveAssociation);
        sb.append(", parentId=").append(parentId);
508 509
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
510 511 512 513
        sb.append("]");
        return sb.toString();
    }
}