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

    private static final long serialVersionUID = 1L;

    private Integer       id;
    private String        rsaPublicKey;
    private String        rsaPrivateKey;
    private String        aesKey;
    private LocalDateTime updateAt;
    private LocalDateTime createAt;

    public SysKeyPojo() {}

    public SysKeyPojo(SysKeyPojo value) {
        this.id = value.id;
        this.rsaPublicKey = value.rsaPublicKey;
        this.rsaPrivateKey = value.rsaPrivateKey;
        this.aesKey = value.aesKey;
        this.updateAt = value.updateAt;
        this.createAt = value.createAt;
    }

    public SysKeyPojo(
        Integer       id,
        String        rsaPublicKey,
        String        rsaPrivateKey,
        String        aesKey,
        LocalDateTime updateAt,
        LocalDateTime createAt
    ) {
        this.id = id;
        this.rsaPublicKey = rsaPublicKey;
        this.rsaPrivateKey = rsaPrivateKey;
        this.aesKey = aesKey;
        this.updateAt = updateAt;
        this.createAt = createAt;
    }

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

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

    /**
     * Getter for <code>databasir.sys_key.rsa_public_key</code>.
     */
    public String getRsaPublicKey() {
        return this.rsaPublicKey;
    }

    /**
     * Setter for <code>databasir.sys_key.rsa_public_key</code>.
     */
    public void setRsaPublicKey(String rsaPublicKey) {
        this.rsaPublicKey = rsaPublicKey;
    }

    /**
     * Getter for <code>databasir.sys_key.rsa_private_key</code>.
     */
    public String getRsaPrivateKey() {
        return this.rsaPrivateKey;
    }

    /**
     * Setter for <code>databasir.sys_key.rsa_private_key</code>.
     */
    public void setRsaPrivateKey(String rsaPrivateKey) {
        this.rsaPrivateKey = rsaPrivateKey;
    }

    /**
     * Getter for <code>databasir.sys_key.aes_key</code>.
     */
    public String getAesKey() {
        return this.aesKey;
    }

    /**
     * Setter for <code>databasir.sys_key.aes_key</code>.
     */
    public void setAesKey(String aesKey) {
        this.aesKey = aesKey;
    }

    /**
     * Getter for <code>databasir.sys_key.update_at</code>.
     */
    public LocalDateTime getUpdateAt() {
        return this.updateAt;
    }

    /**
     * Setter for <code>databasir.sys_key.update_at</code>.
     */
    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

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

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

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

        sb.append(id);
        sb.append(", ").append(rsaPublicKey);
        sb.append(", ").append(rsaPrivateKey);
        sb.append(", ").append(aesKey);
        sb.append(", ").append(updateAt);
        sb.append(", ").append(createAt);

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