summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/bungeeBans/json/Ban.java
blob: d5434d5ece74aae18d3af180571066bdc919aad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.redstoner.bungeeBans.json;

public abstract class Ban {
	private String created;
	private String source;
	private String expires;
	private String reason;

	protected Ban(String created, String source, String expires, String reason) {
		this.created = created;
		this.source = source;
		this.expires = expires;
		this.reason = reason;
	}

	public abstract String getIdentifier();

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getExpires() {
		return expires;
	}

	public void setExpires(String expires) {
		this.expires = expires;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
}