/* * This file is generated by jOOQ. */ package de.jottyfan.bico.db.tables; import de.jottyfan.bico.db.Public; import de.jottyfan.bico.db.tables.records.VLessonRecord; import java.time.LocalDate; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Name; import org.jooq.Record; import org.jooq.Row5; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.TableOptions; import org.jooq.impl.DSL; import org.jooq.impl.SQLDataType; import org.jooq.impl.TableImpl; /** * This class is generated by jOOQ. */ @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class VLesson extends TableImpl { private static final long serialVersionUID = 1L; /** * The reference instance of public.v_lesson */ public static final VLesson V_LESSON = new VLesson(); /** * The class holding records for this type */ @Override public Class getRecordType() { return VLessonRecord.class; } /** * The column public.v_lesson.source_name. */ public final TableField SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.CLOB, this, ""); /** * The column public.v_lesson.theme. */ public final TableField THEME = createField(DSL.name("theme"), SQLDataType.CLOB, this, ""); /** * The column public.v_lesson.subtheme. */ public final TableField SUBTHEME = createField(DSL.name("subtheme"), SQLDataType.CLOB, this, ""); /** * The column public.v_lesson.slots. */ public final TableField SLOTS = createField(DSL.name("slots"), SQLDataType.LOCALDATE.getArrayDataType(), this, ""); /** * The column public.v_lesson.order_nr. */ public final TableField ORDER_NR = createField(DSL.name("order_nr"), SQLDataType.INTEGER, this, ""); private VLesson(Name alias, Table aliased) { this(alias, aliased, null); } private VLesson(Name alias, Table aliased, Field[] parameters) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view()); } /** * Create an aliased public.v_lesson table reference */ public VLesson(String alias) { this(DSL.name(alias), V_LESSON); } /** * Create an aliased public.v_lesson table reference */ public VLesson(Name alias) { this(alias, V_LESSON); } /** * Create a public.v_lesson table reference */ public VLesson() { this(DSL.name("v_lesson"), null); } public VLesson(Table child, ForeignKey key) { super(child, key, V_LESSON); } @Override public Schema getSchema() { return aliased() ? null : Public.PUBLIC; } @Override public VLesson as(String alias) { return new VLesson(DSL.name(alias), this); } @Override public VLesson as(Name alias) { return new VLesson(alias, this); } /** * Rename this table */ @Override public VLesson rename(String name) { return new VLesson(DSL.name(name), null); } /** * Rename this table */ @Override public VLesson rename(Name name) { return new VLesson(name, null); } // ------------------------------------------------------------------------- // Row5 type methods // ------------------------------------------------------------------------- @Override public Row5 fieldsRow() { return (Row5) super.fieldsRow(); } }