Skip to content

Commit 1ebe310

Browse files
committed
Add Motd files deleted in the last commit.
1 parent 71f2e69 commit 1ebe310

File tree

3 files changed

+842
-0
lines changed

3 files changed

+842
-0
lines changed
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
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+
}
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
/**
2+
* This class is generated by jOOQ
3+
*/
4+
package com.parallax.server.blocklyprop.db.generated.tables.pojos;
5+
6+
7+
import java.io.Serializable;
8+
import java.sql.Timestamp;
9+
10+
import javax.annotation.Generated;
11+
12+
13+
/**
14+
* Customer-facing alerts
15+
*/
16+
@Generated(
17+
value = {
18+
"http://www.jooq.org",
19+
"jOOQ version:3.7.4"
20+
},
21+
comments = "This class is generated by jOOQ"
22+
)
23+
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
24+
public class Motd implements Serializable {
25+
26+
private static final long serialVersionUID = -1332986573;
27+
28+
private Long id;
29+
private String messageText;
30+
private String messageHtml;
31+
private String notes;
32+
private Byte enabled;
33+
private Byte isDeleted;
34+
private Timestamp createDate;
35+
private Timestamp lastChangeDate;
36+
private Timestamp messageEnableTime;
37+
private Timestamp messageDisableTime;
38+
39+
public Motd() {}
40+
41+
public Motd(Motd value) {
42+
this.id = value.id;
43+
this.messageText = value.messageText;
44+
this.messageHtml = value.messageHtml;
45+
this.notes = value.notes;
46+
this.enabled = value.enabled;
47+
this.isDeleted = value.isDeleted;
48+
this.createDate = value.createDate;
49+
this.lastChangeDate = value.lastChangeDate;
50+
this.messageEnableTime = value.messageEnableTime;
51+
this.messageDisableTime = value.messageDisableTime;
52+
}
53+
54+
public Motd(
55+
Long id,
56+
String messageText,
57+
String messageHtml,
58+
String notes,
59+
Byte enabled,
60+
Byte isDeleted,
61+
Timestamp createDate,
62+
Timestamp lastChangeDate,
63+
Timestamp messageEnableTime,
64+
Timestamp messageDisableTime
65+
) {
66+
this.id = id;
67+
this.messageText = messageText;
68+
this.messageHtml = messageHtml;
69+
this.notes = notes;
70+
this.enabled = enabled;
71+
this.isDeleted = isDeleted;
72+
this.createDate = createDate;
73+
this.lastChangeDate = lastChangeDate;
74+
this.messageEnableTime = messageEnableTime;
75+
this.messageDisableTime = messageDisableTime;
76+
}
77+
78+
public Long getId() {
79+
return this.id;
80+
}
81+
82+
public void setId(Long id) {
83+
this.id = id;
84+
}
85+
86+
public String getMessageText() {
87+
return this.messageText;
88+
}
89+
90+
public void setMessageText(String messageText) {
91+
this.messageText = messageText;
92+
}
93+
94+
public String getMessageHtml() {
95+
return this.messageHtml;
96+
}
97+
98+
public void setMessageHtml(String messageHtml) {
99+
this.messageHtml = messageHtml;
100+
}
101+
102+
public String getNotes() {
103+
return this.notes;
104+
}
105+
106+
public void setNotes(String notes) {
107+
this.notes = notes;
108+
}
109+
110+
public Byte getEnabled() {
111+
return this.enabled;
112+
}
113+
114+
public void setEnabled(Byte enabled) {
115+
this.enabled = enabled;
116+
}
117+
118+
public Byte getIsDeleted() {
119+
return this.isDeleted;
120+
}
121+
122+
public void setIsDeleted(Byte isDeleted) {
123+
this.isDeleted = isDeleted;
124+
}
125+
126+
public Timestamp getCreateDate() {
127+
return this.createDate;
128+
}
129+
130+
public void setCreateDate(Timestamp createDate) {
131+
this.createDate = createDate;
132+
}
133+
134+
public Timestamp getLastChangeDate() {
135+
return this.lastChangeDate;
136+
}
137+
138+
public void setLastChangeDate(Timestamp lastChangeDate) {
139+
this.lastChangeDate = lastChangeDate;
140+
}
141+
142+
public Timestamp getMessageEnableTime() {
143+
return this.messageEnableTime;
144+
}
145+
146+
public void setMessageEnableTime(Timestamp messageEnableTime) {
147+
this.messageEnableTime = messageEnableTime;
148+
}
149+
150+
public Timestamp getMessageDisableTime() {
151+
return this.messageDisableTime;
152+
}
153+
154+
public void setMessageDisableTime(Timestamp messageDisableTime) {
155+
this.messageDisableTime = messageDisableTime;
156+
}
157+
158+
@Override
159+
public String toString() {
160+
StringBuilder sb = new StringBuilder("Motd (");
161+
162+
sb.append(id);
163+
sb.append(", ").append(messageText);
164+
sb.append(", ").append(messageHtml);
165+
sb.append(", ").append(notes);
166+
sb.append(", ").append(enabled);
167+
sb.append(", ").append(isDeleted);
168+
sb.append(", ").append(createDate);
169+
sb.append(", ").append(lastChangeDate);
170+
sb.append(", ").append(messageEnableTime);
171+
sb.append(", ").append(messageDisableTime);
172+
173+
sb.append(")");
174+
return sb.toString();
175+
}
176+
}

0 commit comments

Comments
 (0)