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; } }