-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from InseeFr/source_open_close
Source open close
- Loading branch information
Showing
9 changed files
with
108 additions
and
49 deletions.
There are no files selected for viewing
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
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
13 changes: 13 additions & 0 deletions
13
src/main/java/fr/insee/survey/datacollectionmanagement/metadata/dto/OpenDto.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package fr.insee.survey.datacollectionmanagement.metadata.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
public class OpenDto { | ||
private boolean surveyOnline; | ||
private String messageSurveyOffline; | ||
private String messageInfoSurveyOffline; | ||
|
||
} |
21 changes: 0 additions & 21 deletions
21
src/main/java/fr/insee/survey/datacollectionmanagement/metadata/dto/SourceCompleteDto.java
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
...ain/java/fr/insee/survey/datacollectionmanagement/metadata/dto/SourceOnlineStatusDto.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package fr.insee.survey.datacollectionmanagement.metadata.dto; | ||
|
||
import fr.insee.survey.datacollectionmanagement.metadata.util.PeriodicityEnum; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class SourceOnlineStatusDto { | ||
|
||
@NotBlank | ||
private String id; | ||
private String longWording; | ||
private String shortWording; | ||
private PeriodicityEnum periodicity; | ||
@Schema(description = "Indicates whether or not you need to use the my surveys portal", defaultValue = "false") | ||
private boolean mandatoryMySurveys = false; | ||
@Schema(description = "Indicates if the source should be force closed", defaultValue = "false") | ||
private boolean forceClose = false; | ||
private String messageInfoSurveyOffline = ""; | ||
private String messageSurveyOffline = ""; | ||
private String ownerId; | ||
private String supportId; | ||
|
||
} |
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