-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add AnswerType enum, fix enums localisation, fix fake-datas
- Loading branch information
1 parent
ff7b6e8
commit 4f8a887
Showing
9 changed files
with
48 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.pwr.students.domain; | ||
|
||
public enum AnswerType { | ||
SLIDER, | ||
TEXT, | ||
RADIO, | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...pwr/students/repository/SurveyStatus.java → ...com/pwr/students/domain/SurveyStatus.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,4 +1,4 @@ | ||
package com.pwr.students.repository; | ||
package com.pwr.students.domain; | ||
|
||
public enum SurveyStatus { | ||
DRAFT, | ||
|
20 changes: 10 additions & 10 deletions
20
src/main/resources/config/liquibase/fake-data/question.csv
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,11 +1,11 @@ | ||
id;category;answer_type;question_content;is_required;jhi_order;survey_id | ||
1;attitude;calculate Infrastructure;including Networked;true;44743;1 | ||
2;Integration Berkshire up;Rubber;revolutionary above Jazz;true;48233;2 | ||
3;Jazz;XML;Classical Chevrolet who;true;75409;3 | ||
4;sensor Phased;Engineer firewall Northwest;orchestration Palladium;true;33686;4 | ||
5;Account provided;Jersey capacitor Thiel;VanXXXXXXXXXXXXX;true;91402;5 | ||
6;strategic lame;since Screen Country;lens Principal CSS;true;73489;6 | ||
7;cyan Denver ferociously;Southwest;to SouthXXXXXXXX;true;11450;7 | ||
8;Thorium Bowie;bluetooth brr;Soap RubberXXXXX;true;17469;8 | ||
9;Forward;grey California;Southeast Bacon Copernicium;false;26648;9 | ||
10;Czech New;benchmark invoice Rialto;but Brakus South;true;60643;10 | ||
1;attitude;TEXT;including Networked;true;44743;1 | ||
2;Integration Berkshire up;RADIO;whatever question content;true;48233;2 | ||
3;Jazz;SLIDER;whatever question content;true;75409;3 | ||
4;sensor Phased;TEXT;orchestration Palladium;true;33686;4 | ||
5;Account provided;TEXT;VanXXXXXXXXXXXXX;true;91402;5 | ||
6;strategic lame;TEXT;lens Principal CSS;true;73489;6 | ||
7;cyan Denver ferociously;SLIDER;to SouthXXXXXXXX;true;11450;7 | ||
8;Thorium Bowie;SLIDER;Soap RubberXXXXX;true;17469;8 | ||
9;Forward;RADIO;Southeast Bacon Copernicium;false;26648;9 | ||
10;Czech New;RADIO;but Brakus South;true;60643;10 |
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,11 +1,11 @@ | ||
id;name;description;deadline;status | ||
1;Division;BMW Pound Zealand;2023-05-09;weber Cheese | ||
2;Auburn platforms;networks Architect;2023-05-10;Lauderhill Bedfordshire Chips | ||
3;orchid;Drive ZirconiumX;2023-05-10;Principal | ||
4;infomediaries Route;that EngineerXXX;2023-05-09;neutral incentivize | ||
5;navigation synthesize next;Analyst matrix Interactions;2023-05-09;frozen Steel | ||
6;backing holistic;Rupiah North Luxurious;2023-05-10;silky | ||
7;neutral;panel consequently Operations;2023-05-10;withdrawal Account | ||
8;Ohio avaricious Cisgender;CambridgeshireXX;2023-05-10;stable Wooden | ||
9;Convertible oh;Hybrid KiaXXXXXX;2023-05-10;Account | ||
10;IP Orland;kilogramXXXXXXXX;2023-05-10;Bicycle Markets | ||
1;Division;BMW Pound Zealand;2023-05-09;ACTIVE | ||
2;Auburn platforms;networks Architect;2023-05-10;ACTIVE | ||
3;orchid;Drive ZirconiumX;2023-05-10;ACTIVE | ||
4;infomediaries Route;that EngineerXXX;2023-05-09;ACTIVE | ||
5;navigation synthesize next;Analyst matrix Interactions;2023-05-09;ACTIVE | ||
6;backing holistic;Rupiah North Luxurious;2023-05-10;EXPIRED | ||
7;neutral;panel consequently Operations;2023-05-10;EXPIRED | ||
8;Ohio avaricious Cisgender;CambridgeshireXX;2023-05-10;EXPIRED | ||
9;Convertible oh;Hybrid KiaXXXXXX;2023-05-10;EXPIRED | ||
10;IP Orland;kilogramXXXXXXXX;2023-05-10;DRAFT |
22 changes: 11 additions & 11 deletions
22
src/main/resources/config/liquibase/fake-data/survey_assigment.csv
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,11 +1,11 @@ | ||
id;is_finished | ||
1;true | ||
2;true | ||
3;false | ||
4;true | ||
5;true | ||
6;true | ||
7;false | ||
8;true | ||
9;false | ||
10;true | ||
id;is_finished;survey_id;user_id | ||
1;true;1;1 | ||
2;true;2;1 | ||
3;false;3;1 | ||
4;true;4;1 | ||
5;true;5;1 | ||
6;true;6;2 | ||
7;false;7;2 | ||
8;true;8;2 | ||
9;false;9;2 | ||
10;true;10;2 |
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