1+ /**
2+ * This class is generated by jOOQ
3+ */
4+ package com .parallax .server .blocklyprop .db .generated .tables ;
5+
6+
7+ import com .parallax .server .blocklyprop .db .generated .Blocklyprop ;
8+ import com .parallax .server .blocklyprop .db .generated .Keys ;
9+ import com .parallax .server .blocklyprop .db .generated .tables .records .MotdRecord ;
10+
11+ import java .sql .Timestamp ;
12+ import java .util .Arrays ;
13+ import java .util .List ;
14+
15+ import javax .annotation .Generated ;
16+
17+ import org .jooq .Field ;
18+ import org .jooq .Identity ;
19+ import org .jooq .Table ;
20+ import org .jooq .TableField ;
21+ import org .jooq .UniqueKey ;
22+ import org .jooq .impl .TableImpl ;
23+
24+
25+ /**
26+ * Customer-facing alerts
27+ */
28+ @ Generated (
29+ value = {
30+ "http://www.jooq.org" ,
31+ "jOOQ version:3.7.4"
32+ },
33+ comments = "This class is generated by jOOQ"
34+ )
35+ @ SuppressWarnings ({ "all" , "unchecked" , "rawtypes" })
36+ public class Motd extends TableImpl <MotdRecord > {
37+
38+ private static final long serialVersionUID = 771867904 ;
39+
40+ /**
41+ * The reference instance of <code>blocklyprop.motd</code>
42+ */
43+ public static final Motd MOTD = new Motd ();
44+
45+ /**
46+ * The class holding records for this type
47+ */
48+ @ Override
49+ public Class <MotdRecord > getRecordType () {
50+ return MotdRecord .class ;
51+ }
52+
53+ /**
54+ * The column <code>blocklyprop.motd.id</code>.
55+ */
56+ public final TableField <MotdRecord , Long > ID = createField ("id" , org .jooq .impl .SQLDataType .BIGINT .nullable (false ), this , "" );
57+
58+ /**
59+ * The column <code>blocklyprop.motd.message_text</code>.
60+ */
61+ public final TableField <MotdRecord , String > MESSAGE_TEXT = createField ("message_text" , org .jooq .impl .SQLDataType .VARCHAR .length (2000 ).nullable (false ), this , "" );
62+
63+ /**
64+ * The column <code>blocklyprop.motd.message_html</code>.
65+ */
66+ public final TableField <MotdRecord , String > MESSAGE_HTML = createField ("message_html" , org .jooq .impl .SQLDataType .VARCHAR .length (2000 ), this , "" );
67+
68+ /**
69+ * The column <code>blocklyprop.motd.notes</code>.
70+ */
71+ public final TableField <MotdRecord , String > NOTES = createField ("notes" , org .jooq .impl .SQLDataType .VARCHAR .length (4000 ), this , "" );
72+
73+ /**
74+ * The column <code>blocklyprop.motd.enabled</code>.
75+ */
76+ public final TableField <MotdRecord , Byte > ENABLED = createField ("enabled" , org .jooq .impl .SQLDataType .TINYINT .nullable (false ).defaulted (true ), this , "" );
77+
78+ /**
79+ * The column <code>blocklyprop.motd.is_deleted</code>.
80+ */
81+ public final TableField <MotdRecord , Byte > IS_DELETED = createField ("is_deleted" , org .jooq .impl .SQLDataType .TINYINT .nullable (false ).defaulted (true ), this , "" );
82+
83+ /**
84+ * The column <code>blocklyprop.motd.create_date</code>.
85+ */
86+ public final TableField <MotdRecord , Timestamp > CREATE_DATE = createField ("create_date" , org .jooq .impl .SQLDataType .TIMESTAMP .nullable (false ).defaulted (true ), this , "" );
87+
88+ /**
89+ * The column <code>blocklyprop.motd.last_change_date</code>.
90+ */
91+ public final TableField <MotdRecord , Timestamp > LAST_CHANGE_DATE = createField ("last_change_date" , org .jooq .impl .SQLDataType .TIMESTAMP .nullable (false ).defaulted (true ), this , "" );
92+
93+ /**
94+ * The column <code>blocklyprop.motd.message_enable_time</code>.
95+ */
96+ public final TableField <MotdRecord , Timestamp > MESSAGE_ENABLE_TIME = createField ("message_enable_time" , org .jooq .impl .SQLDataType .TIMESTAMP , this , "" );
97+
98+ /**
99+ * The column <code>blocklyprop.motd.message_disable_time</code>.
100+ */
101+ public final TableField <MotdRecord , Timestamp > MESSAGE_DISABLE_TIME = createField ("message_disable_time" , org .jooq .impl .SQLDataType .TIMESTAMP , this , "" );
102+
103+ /**
104+ * Create a <code>blocklyprop.motd</code> table reference
105+ */
106+ public Motd () {
107+ this ("motd" , null );
108+ }
109+
110+ /**
111+ * Create an aliased <code>blocklyprop.motd</code> table reference
112+ */
113+ public Motd (String alias ) {
114+ this (alias , MOTD );
115+ }
116+
117+ private Motd (String alias , Table <MotdRecord > aliased ) {
118+ this (alias , aliased , null );
119+ }
120+
121+ private Motd (String alias , Table <MotdRecord > aliased , Field <?>[] parameters ) {
122+ super (alias , Blocklyprop .BLOCKLYPROP , aliased , parameters , "Customer-facing alerts" );
123+ }
124+
125+ /**
126+ * {@inheritDoc}
127+ */
128+ @ Override
129+ public Identity <MotdRecord , Long > getIdentity () {
130+ return Keys .IDENTITY_MOTD ;
131+ }
132+
133+ /**
134+ * {@inheritDoc}
135+ */
136+ @ Override
137+ public UniqueKey <MotdRecord > getPrimaryKey () {
138+ return Keys .KEY_MOTD_PRIMARY ;
139+ }
140+
141+ /**
142+ * {@inheritDoc}
143+ */
144+ @ Override
145+ public List <UniqueKey <MotdRecord >> getKeys () {
146+ return Arrays .<UniqueKey <MotdRecord >>asList (Keys .KEY_MOTD_PRIMARY );
147+ }
148+
149+ /**
150+ * {@inheritDoc}
151+ */
152+ @ Override
153+ public Motd as (String alias ) {
154+ return new Motd (alias , this );
155+ }
156+
157+ /**
158+ * Rename this table
159+ */
160+ public Motd rename (String name ) {
161+ return new Motd (name , null );
162+ }
163+ }
0 commit comments