Add constructor
This commit is contained in:
parent
edd38beb67
commit
9e5f3d7247
@ -20,6 +20,10 @@ public class GrantDto {
|
|||||||
private String applicationFileName;
|
private String applicationFileName;
|
||||||
private ProjectDto project;
|
private ProjectDto project;
|
||||||
|
|
||||||
|
public GrantDto() {
|
||||||
|
deadlines.add(new DeadlineDto());
|
||||||
|
}
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
public GrantDto(@JsonProperty("id") Integer id,
|
public GrantDto(@JsonProperty("id") Integer id,
|
||||||
@JsonProperty("title") String title,
|
@JsonProperty("title") String title,
|
||||||
|
Loading…
Reference in New Issue
Block a user