Dieser Commit ist enthalten in:
Ursprung
59e397b826
Commit
229f74991e
@ -32,6 +32,10 @@ import java.util.List;
|
|||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class Event {
|
public class Event {
|
||||||
|
|
||||||
|
static {
|
||||||
|
SchematicType.Normal.name(); // Ensure SchematicType is loaded.
|
||||||
|
}
|
||||||
|
|
||||||
private static final Table<Event> table = new Table<>(Event.class);
|
private static final Table<Event> table = new Table<>(Event.class);
|
||||||
|
|
||||||
private static final SelectStatement<Event> byCurrent = new SelectStatement<>(table, "SELECT * FROM Event WHERE Start < now() AND End > now()");
|
private static final SelectStatement<Event> byCurrent = new SelectStatement<>(table, "SELECT * FROM Event WHERE Start < now() AND End > now()");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren