This commit is contained in:
Anton Romanov 2019-03-04 10:24:30 +04:00
parent 3d8e8ca4f2
commit e2c12d9fb2

View File

@ -4,7 +4,6 @@ import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotEmpty; import org.hibernate.validator.constraints.NotEmpty;
import ru.ulstu.deadline.model.DeadlineDto; import ru.ulstu.deadline.model.DeadlineDto;
import ru.ulstu.grant.model.Grant;
import ru.ulstu.project.model.ProjectDto; import ru.ulstu.project.model.ProjectDto;
import java.util.ArrayList; import java.util.ArrayList;
@ -56,13 +55,17 @@ public class GrantDto {
return id; return id;
} }
public void setId(Integer id) {this.id = id;} public void setId(Integer id) {
this.id = id;
}
public String getTitle() { public String getTitle() {
return title; return title;
} }
public void setTitle(String title) {this.title = title;} public void setTitle(String title) {
this.title = title;
}
public Grant.GrantStatus getStatus() { public Grant.GrantStatus getStatus() {
return status; return status;
@ -84,18 +87,23 @@ public class GrantDto {
return comment; return comment;
} }
public void setComment(String comment) {this.comment = comment;} public void setComment(String comment) {
this.comment = comment;
}
public ProjectDto getProject() { public ProjectDto getProject() {
return project; return project;
} }
public void setProject(ProjectDto project) {this.project = project;} public void setProject(ProjectDto project) {
this.project = project;
}
public String getApplicationFileName() { public String getApplicationFileName() {
return applicationFileName; return applicationFileName;
} }
public void setApplicationFileName(String applicationFileName) { public void setApplicationFileName(String applicationFileName) {
this.applicationFileName = applicationFileName;} this.applicationFileName = applicationFileName;
}
} }