mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 20:45:55 +01:00
59 lines
1.0 KiB
Java
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;
|
|
}
|
|
}
|