summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/bungeeBans/json/PlayerBan.java
blob: 5375493275912f38f184c0ef1df7aedf3d766d77 (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
package com.redstoner.bungeeBans.json;

public class PlayerBan extends Ban {
	private String uuid;
	private String name;


	public PlayerBan(String uuid, String name, String created, String source, String expires, String reason) {
		super(created, source, expires, reason);

		this.uuid = uuid;
		this.name = name;
	}

	@Override
	public String getIdentifier() {
		return uuid;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}