2019-03-05 06:06:02 +01:00
|
|
|
package com.songoda.ultimatemoderation.punish;
|
|
|
|
|
|
|
|
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 id;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setId(int id) {
|
|
|
|
this.id = id;
|
2019-03-05 06:06:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public String getNote() {
|
|
|
|
return note;
|
|
|
|
}
|
|
|
|
|
|
|
|
public UUID getAuthor() {
|
|
|
|
return author;
|
|
|
|
}
|
|
|
|
|
|
|
|
public UUID getSubject() {
|
|
|
|
return subject;
|
|
|
|
}
|
|
|
|
|
|
|
|
public long getCreationDate() {
|
|
|
|
return creationDate;
|
|
|
|
}
|
|
|
|
}
|