1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-12-01 23:13:48 +01:00
Jobs/com/gamingmesh/jobs/container/BlockProtection.java
2016-09-29 17:24:29 +03:00

59 lines
1.0 KiB
Java

package com.gamingmesh.jobs.container;
public class BlockProtection {
private int id;
private Long time;
private Long recorded;
private DBAction action = DBAction.INSERT;
private Boolean paid = true;
public BlockProtection() {
}
public BlockProtection(DBAction action) {
this.action = action;
}
public Long getTime() {
return time;
}
public void setTime(Long time) {
this.time = time;
this.recorded = System.currentTimeMillis();
}
public DBAction getAction() {
return action;
}
public void setAction(DBAction action) {
this.action = action;
}
public Long getRecorded() {
return recorded;
}
public Boolean isPaid() {
return paid;
}
public void setPaid(Boolean paid) {
this.paid = paid;
}
public void setRecorded(Long recorded) {
this.recorded = recorded;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}