package com.hantsylabs.example.spring.model;
import java.util.Date;
import javax.validation.constraints.NotNull;
public class Conference {
private Long id;
private Integer version;
@NotNull
private String name;
@NotNull
private String description;
@NotNull
private Date startedDate;
@NotNull
private Date endedDate;
@NotNull
private String slug;
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Date getStartedDate() {
return this.startedDate;
}
public void setStartedDate(Date startedDate) {
this.startedDate = startedDate;
}
public Date getEndedDate() {
return this.endedDate;
}
public void setEndedDate(Date endedDate) {
this.endedDate = endedDate;
}
public String getSlug() {
return this.slug;
}
public void setSlug(String slug) {
this.slug = slug;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getVersion() {
return this.version;
}
public void setVersion(Integer version) {
this.version = version;
}
}