/*
 * 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 ProjectPojo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer       id;
    private String        name;
    private String        description;
    private Integer       groupId;
    private Boolean       deleted;
    private LocalDateTime createAt;

    public ProjectPojo() {}

    public ProjectPojo(ProjectPojo value) {
        this.id = value.id;
        this.name = value.name;
        this.description = value.description;
        this.groupId = value.groupId;
        this.deleted = value.deleted;
        this.createAt = value.createAt;
    }

    public ProjectPojo(
        Integer       id,
        String        name,
        String        description,
        Integer       groupId,
        Boolean       deleted,
        LocalDateTime createAt
    ) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.groupId = groupId;
        this.deleted = deleted;
        this.createAt = createAt;
    }

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

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

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

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

    /**
     * Getter for <code>databasir.project.description</code>.
     */
    public String getDescription() {
        return this.description;
    }

    /**
     * Setter for <code>databasir.project.description</code>.
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Getter for <code>databasir.project.group_id</code>.
     */
    public Integer getGroupId() {
        return this.groupId;
    }

    /**
     * Setter for <code>databasir.project.group_id</code>.
     */
    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * Getter for <code>databasir.project.deleted</code>.
     */
    public Boolean getDeleted() {
        return this.deleted;
    }

    /**
     * Setter for <code>databasir.project.deleted</code>.
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

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

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

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

        sb.append(id);
        sb.append(", ").append(name);
        sb.append(", ").append(description);
        sb.append(", ").append(groupId);
        sb.append(", ").append(deleted);
        sb.append(", ").append(createAt);

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