/*
 * This file is generated by jOOQ.
 */
package com.databasir.dao.tables.pojos;


import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class TableDocumentPojo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer       id;
    private Integer       databaseDocumentId;
    private String        name;
    private String        type;
    private String        comment;
    private LocalDateTime createAt;

    public TableDocumentPojo() {}

    public TableDocumentPojo(TableDocumentPojo value) {
        this.id = value.id;
        this.databaseDocumentId = value.databaseDocumentId;
        this.name = value.name;
        this.type = value.type;
        this.comment = value.comment;
        this.createAt = value.createAt;
    }

    public TableDocumentPojo(
        Integer       id,
        Integer       databaseDocumentId,
        String        name,
        String        type,
        String        comment,
        LocalDateTime createAt
    ) {
        this.id = id;
        this.databaseDocumentId = databaseDocumentId;
        this.name = name;
        this.type = type;
        this.comment = comment;
        this.createAt = createAt;
    }

    /**
     * Getter for <code>databasir.table_document.id</code>.
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * Setter for <code>databasir.table_document.id</code>.
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * Getter for <code>databasir.table_document.database_document_id</code>.
     */
    public Integer getDatabaseDocumentId() {
        return this.databaseDocumentId;
    }

    /**
     * Setter for <code>databasir.table_document.database_document_id</code>.
     */
    public void setDatabaseDocumentId(Integer databaseDocumentId) {
        this.databaseDocumentId = databaseDocumentId;
    }

    /**
     * Getter for <code>databasir.table_document.name</code>.
     */
    public String getName() {
        return this.name;
    }

    /**
     * Setter for <code>databasir.table_document.name</code>.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Getter for <code>databasir.table_document.type</code>.
     */
    public String getType() {
        return this.type;
    }

    /**
     * Setter for <code>databasir.table_document.type</code>.
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * Getter for <code>databasir.table_document.comment</code>.
     */
    public String getComment() {
        return this.comment;
    }

    /**
     * Setter for <code>databasir.table_document.comment</code>.
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * Getter for <code>databasir.table_document.create_at</code>.
     */
    public LocalDateTime getCreateAt() {
        return this.createAt;
    }

    /**
     * Setter for <code>databasir.table_document.create_at</code>.
     */
    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("TableDocumentPojo (");

        sb.append(id);
        sb.append(", ").append(databaseDocumentId);
        sb.append(", ").append(name);
        sb.append(", ").append(type);
        sb.append(", ").append(comment);
        sb.append(", ").append(createAt);

        sb.append(")");
        return sb.toString();
    }
}
