-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#13084 - Linked SelfReporting message should be shown as side compone…
…nt in UI - changes after review
- Loading branch information
1 parent
c95618e
commit d75c072
Showing
5 changed files
with
43 additions
and
49 deletions.
There are no files selected for viewing
82 changes: 39 additions & 43 deletions
82
sormas-api/src/main/java/de/symeda/sormas/api/selfreport/SelfReportListEntryDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,57 @@ | ||
package de.symeda.sormas.api.selfreport; | ||
|
||
import de.symeda.sormas.api.Disease; | ||
import de.symeda.sormas.api.utils.pseudonymization.PseudonymizableIndexDto; | ||
|
||
import java.io.Serializable; | ||
import java.util.Date; | ||
|
||
public class SelfReportListEntryDto extends PseudonymizableIndexDto implements Serializable { | ||
|
||
public static final String I18N_PREFIX = "SelfReport"; | ||
|
||
|
||
import de.symeda.sormas.api.Disease; | ||
import de.symeda.sormas.api.utils.pseudonymization.PseudonymizableIndexDto; | ||
|
||
public class SelfReportListEntryDto extends PseudonymizableIndexDto implements Serializable { | ||
|
||
private Date reportingDate; | ||
private String caseReference; | ||
private Disease disease; | ||
private Date dateOfTest; | ||
public static final String I18N_PREFIX = "SelfReport"; | ||
|
||
private Date reportingDate; | ||
private String caseReference; | ||
private Disease disease; | ||
private Date dateOfTest; | ||
|
||
public SelfReportListEntryDto(String uuid, Date reportingDate, String caseReference, Disease disease, Date dateOfTest) { | ||
super(uuid); | ||
this.reportingDate = reportingDate; | ||
this.caseReference = caseReference; | ||
this.disease = disease; | ||
this.dateOfTest = dateOfTest; | ||
} | ||
public SelfReportListEntryDto(String uuid, Date reportingDate, String caseReference, Disease disease, Date dateOfTest) { | ||
super(uuid); | ||
this.reportingDate = reportingDate; | ||
this.caseReference = caseReference; | ||
this.disease = disease; | ||
this.dateOfTest = dateOfTest; | ||
} | ||
|
||
public Date getReportingDate() { | ||
return reportingDate; | ||
} | ||
public Date getReportingDate() { | ||
return reportingDate; | ||
} | ||
|
||
public void setReportingDate(Date reportingDate) { | ||
this.reportingDate = reportingDate; | ||
} | ||
public void setReportingDate(Date reportingDate) { | ||
this.reportingDate = reportingDate; | ||
} | ||
|
||
public String getCaseReference() { | ||
return caseReference; | ||
} | ||
public String getCaseReference() { | ||
return caseReference; | ||
} | ||
|
||
public void setCaseReference(String caseReference) { | ||
this.caseReference = caseReference; | ||
} | ||
public void setCaseReference(String caseReference) { | ||
this.caseReference = caseReference; | ||
} | ||
|
||
public Disease getDisease() { | ||
return disease; | ||
} | ||
public Disease getDisease() { | ||
return disease; | ||
} | ||
|
||
public void setDisease(Disease disease) { | ||
this.disease = disease; | ||
} | ||
public void setDisease(Disease disease) { | ||
this.disease = disease; | ||
} | ||
|
||
public Date getDateOfTest() { | ||
return dateOfTest; | ||
} | ||
public Date getDateOfTest() { | ||
return dateOfTest; | ||
} | ||
|
||
public void setDateOfTest(Date dateOfTest) { | ||
this.dateOfTest = dateOfTest; | ||
} | ||
public void setDateOfTest(Date dateOfTest) { | ||
this.dateOfTest = dateOfTest; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters