/*
 * This file is generated by jOOQ.
 */
package jj.tech.paolu.repository.jooq.tables.records;


import jj.tech.paolu.repository.jooq.tables.SysAdminMenu;

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


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

    private static final long serialVersionUID = 1L;

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

    /**
     * Getter for <code>yx.sys_admin_menu.id</code>.
     */
    public String getId() {
        return (String) get(0);
    }

    /**
     * Setter for <code>yx.sys_admin_menu.adminid</code>.
     */
    public void setAdminid(String value) {
        set(1, value);
    }

    /**
     * Getter for <code>yx.sys_admin_menu.adminid</code>.
     */
    public String getAdminid() {
        return (String) get(1);
    }

    /**
     * Setter for <code>yx.sys_admin_menu.memuid</code>.
     */
    public void setMemuid(String value) {
        set(2, value);
    }

    /**
     * Getter for <code>yx.sys_admin_menu.memuid</code>.
     */
    public String getMemuid() {
        return (String) get(2);
    }

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

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

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

    /**
     * Create a detached SysAdminMenuRecord
     */
    public SysAdminMenuRecord() {
        super(SysAdminMenu.SYS_ADMIN_MENU);
    }

    /**
     * Create a detached, initialised SysAdminMenuRecord
     */
    public SysAdminMenuRecord(String id, String adminid, String memuid) {
        super(SysAdminMenu.SYS_ADMIN_MENU);

        setId(id);
        setAdminid(adminid);
        setMemuid(memuid);
        resetChangedOnNotNull();
    }

    /**
     * Create a detached, initialised SysAdminMenuRecord
     */
    public SysAdminMenuRecord(jj.tech.paolu.repository.jooq.tables.pojos.SysAdminMenu value) {
        super(SysAdminMenu.SYS_ADMIN_MENU);

        if (value != null) {
            setId(value.getId());
            setAdminid(value.getAdminid());
            setMemuid(value.getMemuid());
            resetChangedOnNotNull();
        }
    }
}
