UltimateModeration/src/main/java/com/craftaro/ultimatemoderation/punish/PunishmentNote.java

52 lines
1.1 KiB
Java
Raw Normal View History

2023-08-02 18:57:10 +02:00
package com.craftaro.ultimatemoderation.punish;
2019-03-05 06:06:02 +01:00
import java.util.UUID;
public class PunishmentNote {
2020-08-05 00:20:25 +02:00
private int id;
2019-03-05 06:06:02 +01:00
private final String note;
private final UUID author;
private final UUID subject;
private final long creationDate;
2020-08-05 00:20:25 +02:00
public PunishmentNote(int id, String note, UUID author, UUID subject, long creationDate) {
this.id = id;
2019-03-05 06:06:02 +01:00
this.note = note;
this.author = author;
this.subject = subject;
this.creationDate = creationDate;
}
public PunishmentNote(String note, UUID author, UUID subject, long creationDate) {
this.note = note;
this.author = author;
this.subject = subject;
this.creationDate = creationDate;
}
2020-08-05 00:20:25 +02:00
public int getId() {
return this.id;
2020-08-05 00:20:25 +02:00
}
public void setId(int id) {
this.id = id;
2019-03-05 06:06:02 +01:00
}
public String getNote() {
return this.note;
2019-03-05 06:06:02 +01:00
}
public UUID getAuthor() {
return this.author;
2019-03-05 06:06:02 +01:00
}
public UUID getSubject() {
return this.subject;
2019-03-05 06:06:02 +01:00
}
public long getCreationDate() {
return this.creationDate;
2019-03-05 06:06:02 +01:00
}
}