-
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.
Merge pull request #96 from gfa-cc-after/SCRUM-84
SCRUM 84
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
backend/src/main/java/com/greenfoxacademy/backend/models/ClinicDetails.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 com.greenfoxacademy.backend.models; | ||
|
||
import jakarta.persistence.Embeddable; | ||
import lombok.Data; | ||
|
||
/** | ||
* Represents the details of a clinic. | ||
* <p> | ||
* The {@code ClinicDetails} class is used as an embeddable type in JPA entities to store detailed | ||
* information about a clinic. This class contains the address of the clinic as well as any | ||
* additional details that may be relevant for clinic management. | ||
* </p> | ||
* <p> | ||
* This class is annotated with {@code @Embeddable} to indicate that it can be embedded within | ||
* other JPA entities. | ||
* </p> | ||
* | ||
* @see ClinicAddress | ||
*/ | ||
|
||
@Data | ||
@Embeddable | ||
public class ClinicDetails { | ||
|
||
private ClinicAddress clinicAddress; | ||
|
||
} |
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