package no.dusken.barweb.plugin.vaktplugin.model; import javax.validation.constraints.Future; import java.util.Date; /** * @author Marvin B. Lillehaug <lillehau@underdusken.no> */ public class CreateVakterCommand { @Future private Date fromDate; @Future private Date toDate; public void setToDate(Date toDate) { this.toDate = toDate; } public void setFromDate(Date fromDate) { this.fromDate = fromDate; } public Date getFromDate() { return fromDate; } public Date getToDate() { return toDate; } }