/** * This class is generated by jOOQ */ package classes.tables; import classes.Keys; import classes.Public; import classes.tables.records.PersonScheduleRecord; import java.sql.Date; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.ForeignKey; import org.jooq.Schema; import org.jooq.Table; import org.jooq.TableField; import org.jooq.UniqueKey; import org.jooq.impl.TableImpl; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.8.6" }, comments = "This class is generated by jOOQ" ) @SuppressWarnings({ "all", "unchecked", "rawtypes" }) public class PersonSchedule extends TableImpl { private static final long serialVersionUID = 1699199739; /** * The reference instance of public.person_schedule */ public static final PersonSchedule PERSON_SCHEDULE = new PersonSchedule(); /** * The class holding records for this type */ @Override public Class getRecordType() { return PersonScheduleRecord.class; } /** * The column public.person_schedule.sched_id. */ public final TableField SCHED_ID = createField("sched_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column public.person_schedule.person_id. */ public final TableField PERSON_ID = createField("person_id", org.jooq.impl.SQLDataType.INTEGER.nullable(false), this, ""); /** * The column public.person_schedule.timetable. */ public final TableField TIMETABLE = createField("timetable", org.jooq.impl.SQLDataType.CHAR.getArrayDataType(), this, ""); /** * The column public.person_schedule.updated. */ public final TableField UPDATED = createField("updated", org.jooq.impl.SQLDataType.DATE.nullable(false).defaultValue(org.jooq.impl.DSL.field("date(now())", org.jooq.impl.SQLDataType.DATE)), this, ""); /** * Create a public.person_schedule table reference */ public PersonSchedule() { this("person_schedule", null); } /** * Create an aliased public.person_schedule table reference */ public PersonSchedule(String alias) { this(alias, PERSON_SCHEDULE); } private PersonSchedule(String alias, Table aliased) { this(alias, aliased, null); } private PersonSchedule(String alias, Table aliased, Field[] parameters) { super(alias, null, aliased, parameters, ""); } /** * {@inheritDoc} */ @Override public Schema getSchema() { return Public.PUBLIC; } /** * {@inheritDoc} */ @Override public UniqueKey getPrimaryKey() { return Keys.PERSON_SCHEDULE_PKEY; } /** * {@inheritDoc} */ @Override public List> getKeys() { return Arrays.>asList(Keys.PERSON_SCHEDULE_PKEY); } /** * {@inheritDoc} */ @Override public List> getReferences() { return Arrays.>asList(Keys.PERSON_SCHEDULE__TTT); } /** * {@inheritDoc} */ @Override public PersonSchedule as(String alias) { return new PersonSchedule(alias, this); } /** * Rename this table */ public PersonSchedule rename(String name) { return new PersonSchedule(name, null); } }