move Vets to infrastructure

This commit is contained in:
Ismail Ismailov 2023-04-27 14:03:03 +02:00
parent b5cccd109c
commit 44c3f9308b
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.samples.petclinic.vet.Vet;
import org.springframework.samples.petclinic.vet.VetRepository;
import org.springframework.samples.petclinic.vet.Vets;
import org.springframework.samples.petclinic.infrastructure.view.Vets;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

View file

@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.samples.petclinic.vet;
package org.springframework.samples.petclinic.infrastructure.view;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import org.springframework.samples.petclinic.vet.Vet;
/**
* Simple domain object representing a list of veterinarians. Mostly here to be used for