/*
 * This file is generated by jOOQ.
 */
package ru.micord.ervu.account_applications.db_beans.public_.tables.records;


import java.sql.Timestamp;
import java.util.UUID;

import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;

import ru.micord.ervu.account_applications.db_beans.public_.tables.UserApplicationListAudit;


/**
 * This class is generated by jOOQ.
 */
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class UserApplicationListAuditRecord extends UpdatableRecordImpl<UserApplicationListAuditRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * Setter for <code>public.user_application_list_audit.id</code>.
     */
    public void setId(UUID value) {
        set(0, value);
    }

    /**
     * Getter for <code>public.user_application_list_audit.id</code>.
     */
    public UUID getId() {
        return (UUID) get(0);
    }

    /**
     * Setter for
     * <code>public.user_application_list_audit.user_application_list_id</code>.
     */
    public void setUserApplicationListId(Long value) {
        set(1, value);
    }

    /**
     * Getter for
     * <code>public.user_application_list_audit.user_application_list_id</code>.
     */
    public Long getUserApplicationListId() {
        return (Long) get(1);
    }

    /**
     * Setter for <code>public.user_application_list_audit.date</code>.
     */
    public void setDate(Timestamp value) {
        set(2, value);
    }

    /**
     * Getter for <code>public.user_application_list_audit.date</code>.
     */
    public Timestamp getDate() {
        return (Timestamp) get(2);
    }

    /**
     * Setter for <code>public.user_application_list_audit.status</code>.
     */
    public void setStatus(String value) {
        set(3, value);
    }

    /**
     * Getter for <code>public.user_application_list_audit.status</code>.
     */
    public String getStatus() {
        return (String) get(3);
    }

    /**
     * Setter for <code>public.user_application_list_audit.fio</code>.
     */
    public void setFio(String value) {
        set(4, value);
    }

    /**
     * Getter for <code>public.user_application_list_audit.fio</code>.
     */
    public String getFio() {
        return (String) get(4);
    }

    /**
     * Setter for <code>public.user_application_list_audit.login</code>.
     */
    public void setLogin(String value) {
        set(5, value);
    }

    /**
     * Getter for <code>public.user_application_list_audit.login</code>.
     */
    public String getLogin() {
        return (String) get(5);
    }

    // -------------------------------------------------------------------------
    // Primary key information
    // -------------------------------------------------------------------------

    @Override
    public Record1<UUID> key() {
        return (Record1) super.key();
    }

    // -------------------------------------------------------------------------
    // Constructors
    // -------------------------------------------------------------------------

    /**
     * Create a detached UserApplicationListAuditRecord
     */
    public UserApplicationListAuditRecord() {
        super(UserApplicationListAudit.USER_APPLICATION_LIST_AUDIT);
    }

    /**
     * Create a detached, initialised UserApplicationListAuditRecord
     */
    public UserApplicationListAuditRecord(UUID id, Long userApplicationListId, Timestamp date, String status, String fio, String login) {
        super(UserApplicationListAudit.USER_APPLICATION_LIST_AUDIT);

        setId(id);
        setUserApplicationListId(userApplicationListId);
        setDate(date);
        setStatus(status);
        setFio(fio);
        setLogin(login);
        resetChangedOnNotNull();
    }
}
