Skip to content

Conversation

mzwandilemkhokha
Copy link

This PR addresses code organization by moving Pet and Visit related classes from the owner package into dedicated pet/ and visits/ subdirectories. This change improves project navigation and creates clearer domain boundaries while maintaining all existing functionality.

Before: Original Directory Structure
● owner/
○ Owner.java
○ OwnerController.java
○ OwnerRepository.java
○ Pet.java
○ PetController.java
○ PetType.java
○ PetTypeFormatter.java
○ PetTypeRepository.java
○ PetValidator.java
○ Visit.java
○ VisitController.java

After: Refactored Directory Structure
The following directories have been created to better categorize the application's components:
● owner/ (Contains all classes and controllers related to owner management)
○ Owner.java
○ OwnerController.java
○ OwnerRepository.java
● pet/ (Contains classes and controllers for managing pets)
○ Pet.java
○ PetController.java
○ PetType.java
○ PetTypeFormatter.java
○ PetTypeRepository.java
○ PetValidator.java
● visits/ (Contains classes and controllers for managing visits)
○ Visit.java
○ VisitController.java

…tories

This commit reorganizes the directory structure to improve maintainability and separation of concerns.

The classes previously located in the single 'owner' directory have been moved into new, domain-specific packages:
- `owner/`: For all owner-related classes.
- `pet/`: For all pet-related classes.
- `visits/`: For all visit-related classes.
 Changes to be committed:

Signed-off-by: Admin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant