Dieser Commit ist enthalten in:
Ursprung
4b97753167
Commit
bb601245f9
@ -47,8 +47,7 @@ public class Punishment {
|
|||||||
@Field(keys = {Table.PRIMARY}, autoincrement = true)
|
@Field(keys = {Table.PRIMARY}, autoincrement = true)
|
||||||
private final int punishmentId;
|
private final int punishmentId;
|
||||||
@Field
|
@Field
|
||||||
@Getter
|
private final int userId;
|
||||||
private final int user;
|
|
||||||
@Field
|
@Field
|
||||||
@Getter
|
@Getter
|
||||||
private final int punisher;
|
private final int punisher;
|
||||||
@ -95,6 +94,10 @@ public class Punishment {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isCurrent() {
|
public boolean isCurrent() {
|
||||||
return isPerma() || getEndTime().after(new Date());
|
return isPerma() || getEndTime().after(new Date());
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren