|
42 | 42 | import de.symeda.sormas.api.exposure.AnimalCategory; |
43 | 43 | import de.symeda.sormas.api.exposure.AnimalContactType; |
44 | 44 | import de.symeda.sormas.api.exposure.AnimalLocation; |
45 | | -import de.symeda.sormas.api.exposure.EatingOutVenue; |
46 | 45 | import de.symeda.sormas.api.exposure.ExposureCategory; |
47 | 46 | import de.symeda.sormas.api.exposure.ExposureContactFactor; |
48 | 47 | import de.symeda.sormas.api.exposure.ExposureProtectiveMeasure; |
@@ -92,8 +91,6 @@ public class Exposure extends AbstractDomainObject { |
92 | 91 | public static final String SUB_SETTINGS = "subSettings"; |
93 | 92 | public static final String CONTACT_FACTORS = "contactFactors"; |
94 | 93 | public static final String PROTECTIVE_MEASURES = "protectiveMeasures"; |
95 | | - public static final String EATING_OUT_VENUES = "eatingOutVenues"; |
96 | | - public static final String EATING_OUT_VENUE_OTHER = "eatingOutVenueOther"; |
97 | 94 | public static final String SHOPPING_FOR_FOOD_DETAILS = "shoppingForFoodDetails"; |
98 | 95 |
|
99 | 96 | private EpiData epiData; |
@@ -201,8 +198,6 @@ public class Exposure extends AbstractDomainObject { |
201 | 198 | private Set<ExposureContactFactor> contactFactors = new HashSet<>(); |
202 | 199 | private Set<ExposureProtectiveMeasure> protectiveMeasures = new HashSet<>(); |
203 | 200 |
|
204 | | - private Set<EatingOutVenue> eatingOutVenues = new HashSet<>(); |
205 | | - private String eatingOutVenueOther; |
206 | 201 | private String shoppingForFoodDetails; |
207 | 202 |
|
208 | 203 | @ManyToOne |
@@ -956,28 +951,6 @@ public void setProtectiveMeasures(Set<ExposureProtectiveMeasure> protectiveMeasu |
956 | 951 | this.protectiveMeasures = protectiveMeasures; |
957 | 952 | } |
958 | 953 |
|
959 | | - @ElementCollection(fetch = FetchType.EAGER) |
960 | | - @Enumerated(EnumType.STRING) |
961 | | - @CollectionTable(name = "exposures_eatingoutvenues", |
962 | | - joinColumns = @JoinColumn(name = "exposure_id", referencedColumnName = Exposure.ID, nullable = false)) |
963 | | - @Column(name = "eatingoutvenue", nullable = false) |
964 | | - public Set<EatingOutVenue> getEatingOutVenues() { |
965 | | - return eatingOutVenues; |
966 | | - } |
967 | | - |
968 | | - public void setEatingOutVenues(Set<EatingOutVenue> eatingOutVenues) { |
969 | | - this.eatingOutVenues = eatingOutVenues; |
970 | | - } |
971 | | - |
972 | | - @Column(length = CHARACTER_LIMIT_DEFAULT) |
973 | | - public String getEatingOutVenueOther() { |
974 | | - return eatingOutVenueOther; |
975 | | - } |
976 | | - |
977 | | - public void setEatingOutVenueOther(String eatingOutVenueOther) { |
978 | | - this.eatingOutVenueOther = eatingOutVenueOther; |
979 | | - } |
980 | | - |
981 | 954 | @Column(length = CHARACTER_LIMIT_DEFAULT) |
982 | 955 | public String getShoppingForFoodDetails() { |
983 | 956 | return shoppingForFoodDetails; |
|
0 commit comments