53 lines
982 B
Java
53 lines
982 B
Java
package com.baeldung.thymeleaf.customhtml;
|
|
|
|
import java.util.Date;
|
|
|
|
public class Course {
|
|
|
|
private String name;
|
|
private String description;
|
|
private Date startDate;
|
|
private Date endDate;
|
|
private String teacher;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public Date getStartDate() {
|
|
return startDate;
|
|
}
|
|
|
|
public void setStartDate(Date startDate) {
|
|
this.startDate = startDate;
|
|
}
|
|
|
|
public Date getEndDate() {
|
|
return endDate;
|
|
}
|
|
|
|
public void setEndDate(Date endDate) {
|
|
this.endDate = endDate;
|
|
}
|
|
|
|
public String getTeacher() {
|
|
return teacher;
|
|
}
|
|
|
|
public void setTeacher(String teacher) {
|
|
this.teacher = teacher;
|
|
}
|
|
}
|