Adds description on ProjectOverview model.

This commit is contained in:
gkolokythas 2019-05-20 13:19:10 +03:00
parent b67614afd0
commit f0c99e33af
1 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ public class ProjectOverviewModel implements DataModel<Project, ProjectOverviewM
private UUID id; private UUID id;
private String label; private String label;
private String abbreviation; private String abbreviation;
private String definition; private String description;
private Date startDate; private Date startDate;
private Date endDate; private Date endDate;
@ -35,11 +35,11 @@ public class ProjectOverviewModel implements DataModel<Project, ProjectOverviewM
this.abbreviation = abbreviation; this.abbreviation = abbreviation;
} }
public String getDefinition() { public String getDescription() {
return definition; return description;
} }
public void setDefinition(String definition) { public void setDescription(String description) {
this.definition = definition; this.description = description;
} }
public Date getStartDate() { public Date getStartDate() {
@ -61,7 +61,7 @@ public class ProjectOverviewModel implements DataModel<Project, ProjectOverviewM
this.id = entity.getId(); this.id = entity.getId();
this.label = entity.getLabel(); this.label = entity.getLabel();
this.abbreviation = entity.getAbbreviation(); this.abbreviation = entity.getAbbreviation();
this.definition = entity.getDefinition(); this.description = entity.getDescription();
this.startDate = entity.getStartdate(); this.startDate = entity.getStartdate();
this.endDate = entity.getEnddate(); this.endDate = entity.getEnddate();
return this; return this;