Repository: Learnathon-By-Geeky-Solutions/bytebuilders-
Pull request #27: BaseAddress created and Duplicate reduced from Location and UserAddress
Author: login: Nasir-Hasan-Ashik
Created: 2025-04-13T17:14:26Z | Merged: 2025-04-13T17:18:46Z



Diff:
diff --git a/Xpert/Backend/src/main/java/com/xpert/entity/Location.java b/Xpert/Backend/src/main/java/com/xpert/entity/Location.java
index 8f5fd9c..738f57b 100644
--- a/Xpert/Backend/src/main/java/com/xpert/entity/Location.java
+++ b/Xpert/Backend/src/main/java/com/xpert/entity/Location.java
@@ -5,13 +5,18 @@
 
 import java.util.UUID;
 
+import com.xpert.entity.common.BaseAddress;
+
 @Entity
 @Table(name = "location")
-@Data
+@Getter
+@Setter
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = true)
 @NoArgsConstructor
 @AllArgsConstructor
 @Builder
-public class Location {
+public class Location extends BaseAddress {
 
     @Id
     @GeneratedValue(strategy = GenerationType.AUTO)
@@ -20,21 +25,6 @@ public class Location {
     @Column(length = 255)
     private String title;
 
-    @Column(nullable = false, length = 50)
-    private String country;
-
-    @Column(nullable = false, length = 100)
-    private String city;
-
-    @Column(nullable = false, length = 100)
-    private String state;
-
-    @Column(name = "zip_code", nullable = false, length = 10)
-    private String zipCode;
-
-    @Column(name = "street_address", nullable = false, columnDefinition = "TEXT")
-    private String streetAddress;
-
     @Column(name = "special_instruction", columnDefinition = "TEXT")
     private String specialInstruction;
 
diff --git a/Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java b/Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java
index 667b034..1ea350c 100644
--- a/Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java
+++ b/Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java
@@ -5,13 +5,18 @@
 
 import java.util.UUID;
 
+import com.xpert.entity.common.BaseAddress;
+
 @Entity
 @Table(name = "user_addresses")
-@Data
+@Getter
+@Setter
+@ToString(callSuper = true)
+@EqualsAndHashCode(callSuper = true)
 @NoArgsConstructor
 @AllArgsConstructor
 @Builder
-public class UserAddress {
+public class UserAddress extends BaseAddress {
 
     @Id
     @GeneratedValue(strategy = GenerationType.AUTO)
@@ -24,21 +29,6 @@ public class UserAddress {
     @JoinColumn(name = "user_id", nullable = false)
     private Users user;
 
-    @Column(nullable = false, length = 50)
-    private String country;
-
-    @Column(nullable = false, length = 100)
-    private String city;
-
-    @Column(nullable = false, length = 100)
-    private String state;
-
-    @Column(name = "zip_code", nullable = false, length = 10)
-    private String zipCode;
-
-    @Column(name = "street_address", nullable = false, columnDefinition = "TEXT")
-    private String streetAddress;
-
     @Column(name = "is_default", nullable = false)
     private Boolean isDefault;
 
diff --git a/Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java b/Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java
new file mode 100644
index 0000000..5687e2e
--- /dev/null
+++ b/Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java
@@ -0,0 +1,30 @@
+package com.xpert.entity.common;
+
+import jakarta.persistence.Column;
+import jakarta.persistence.MappedSuperclass;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * Base class for reusable address fields.
+ */
+@Getter
+@Setter
+@MappedSuperclass
+public abstract class BaseAddress {
+
+    @Column(nullable = false, length = 50)
+    private String country;
+
+    @Column(nullable = false, length = 100)
+    private String city;
+
+    @Column(nullable = false, length = 100)
+    private String state;
+
+    @Column(name = "zip_code", nullable = false, length = 10)
+    private String zipCode;
+
+    @Column(name = "street_address", nullable = false, columnDefinition = "TEXT")
+    private String streetAddress;
+}


Reviews:
user: login: coderabbitai[bot]
body: **Actionable comments posted: 2**

<details>
<summary>📜 Review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: ASSERTIVE**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 6a5d487b76d2b4ceab5b10e187fff3dc673d2c7f and b6d22bdcfbce54738c2af7242ef297d0220b8b1b.

</details>

<details>
<summary>📒 Files selected for processing (3)</summary>

* `Xpert/Backend/src/main/java/com/xpert/entity/Location.java` (1 hunks)
* `Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java` (1 hunks)
* `Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java` (1 hunks)

</details>

<details>
<summary>🧰 Additional context used</summary>

<details>
<summary>🧬 Code Graph Analysis (2)</summary>

<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/Location.java (1)</summary><blockquote>

<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java (1)</summary>

* `Getter` (11-30)

</details>

</blockquote></details>
<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java (1)</summary><blockquote>

<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java (1)</summary>

* `Getter` (11-30)

</details>

</blockquote></details>

</details>

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (1)</summary>

* GitHub Check: Analyze (java-kotlin)

</details>

<details>
<summary>🔇 Additional comments (10)</summary><blockquote>

<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java (4)</summary>

`1-14`: **Beep boop. Good use of MappedSuperclass.**

This abstract class setup is correct. The Lombok annotations for getters and setters are appropriate. No immediate issues detected in these lines.

---

`19-20`: **Beep boop. Verify city length.**

Ensure 100 characters are sufficient to accommodate real-world city names without truncation.

---

`25-26`: **Beep boop. Zip codes can vary by country.**

Many formats can exceed 10 characters, be alphanumeric, or contain spaces. Confirm constraints align with your locale coverage.

---

`28-29`: **Beep boop. Street address as TEXT is okay.**

No concerns here, as addresses can be lengthy. Keep it mandatory only if business logic requires it.

</details>
<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/Location.java (3)</summary>

`8-8`: **Beep boop. BaseAddress import is sensible.**

Importing the new abstract class fosters code reuse. Looks good.

---

`12-15`: **Beep boop. Replacing @Data with targeted Lombok annotations is wise.**

This approach provides granular control over toString, equals, and hashCode. Good job.

---

`19-19`: **Beep boop. Extending BaseAddress.**

Inheriting fields from BaseAddress eliminates duplication. Verify that existing references to any removed fields are updated accordingly.

</details>
<details>
<summary>Xpert/Backend/src/main/java/com/xpert/entity/UserAddress.java (3)</summary>

`8-8`: **Beep boop. BaseAddress import is correct.**

Looks consistent with the new entity design. Good.

---

`12-15`: **Beep boop. Fine-grained Lombok usage is beneficial.**

Allowing callSuper in toString and equals ensures inherited fields are included.

---

`19-19`: **Beep boop. Subclassing BaseAddress.**

Inherits address fields properly, reducing duplication. Confirm older references to address fields are removed.

</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: NONE
submitted_at: 2025-04-13T17:16:57Z

Review comments:
diff_hunk: @@ -0,0 +1,30 @@
+package com.xpert.entity.common;
+
+import jakarta.persistence.Column;
+import jakarta.persistence.MappedSuperclass;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * Base class for reusable address fields.
+ */
+@Getter
+@Setter
+@MappedSuperclass
+public abstract class BaseAddress {
+
+    @Column(nullable = false, length = 50)
+    private String country;
path: Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java
user: login: coderabbitai[bot]
body: _🧹 Nitpick (assertive)_

**Beep boop. Consider referencing country codes.**

Defining a reference table or enum for country might improve data integrity, rather than a plain string field.

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-13T17:16:57Z
author_association: NONE
diff_hunk: @@ -0,0 +1,30 @@
+package com.xpert.entity.common;
+
+import jakarta.persistence.Column;
+import jakarta.persistence.MappedSuperclass;
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * Base class for reusable address fields.
+ */
+@Getter
+@Setter
+@MappedSuperclass
+public abstract class BaseAddress {
+
+    @Column(nullable = false, length = 50)
+    private String country;
+
+    @Column(nullable = false, length = 100)
+    private String city;
+
+    @Column(nullable = false, length = 100)
+    private String state;
path: Xpert/Backend/src/main/java/com/xpert/entity/common/BaseAddress.java
user: login: coderabbitai[bot]
body: _🧹 Nitpick (assertive)_

**Beep boop. Potential mismatch for “state” naming.**

For worldwide usage, consider that some regions do not have "states." You might rename it or confirm usage is correct.

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-04-13T17:16:57Z
author_association: NONE

PR comments:
user: login: coderabbitai[bot]
created_at: 2025-04-13T17:14:32Z
body: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- walkthrough_start -->

<details>
<summary>📝 Walkthrough</summary>

## Summary by CodeRabbit

These updates focus on a more streamlined approach to managing address information, improving consistency and reducing redundancy across the platform.

- **Refactor**
  - Consolidated common address details into a unified model for both location and user addresses, ensuring enhanced consistency and maintainability.
## Walkthrough
This pull request refactors the address-related entity design. Both the `Location` and `UserAddress` classes now extend a new abstract class, `BaseAddress`, which encapsulates common address fields. The Lombok annotation usage has been updated in these classes—replacing `@Data` with individual annotations that include superclass fields in method generation. Consequently, duplicate address fields have been removed from the child classes, delegating responsibility to `BaseAddress`.

## Changes

| File(s) | Change Summary |
|---------|----------------|
| `Xpert/Backend/.../Location.java` and `Xpert/Backend/.../UserAddress.java` | Modified to extend `BaseAddress`; replaced `@Data` with `@Getter`, `@Setter`, `@ToString(callSuper = true)`, and `@EqualsAndHashCode(callSuper = true)`; removed redundant address fields. |
| `Xpert/Backend/.../common/BaseAddress.java` | New abstract class annotated with `@MappedSuperclass` defined with common address fields (`country`, `city`, `state`, `zipCode`, and `streetAddress`) along with JPA and Lombok annotations. |

## Poem
> Beep boop—code refined and clear,  
> Inheritance echoes through every tier.  
> `BaseAddress` stands as the core,  
> Old fields retire, out the door.  
> Annotations now dance in precise array,  
> Our system marches on in a robotic way! 🤖

</details>

<!-- walkthrough_end -->
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEejqANiS4AhNIhIBBWrQrTkDN9TroM9ACLY3BbwD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iejc/5ICfRCyMAKIU4t5bVhxTLUQBo81tT3srVWPh1bWy1knXW0h9aGwwnfE2OZuoWwWC2attscmQFTelZ2WBXa1z7iXX25dA5jwnoXeufb3DNxjvHdUXak49tnfbX+mdIB4rTfSnuRd+6Dz9viEeQdq4h2nVPXGM9GXz3na3ZeQwYR7pHd7UuR6A6V2DrXeurMMgeyAf8+dS9eTZpFGKeYW8fgyj3jalyyoDCOEgOQT4KhlJDh2j25KFMmU9j7CGTMihog+GTUlJYGhz2aDDhoX9uoeCe0hSQe5HgjZ5G2OgZA1k9WRSBTRNJKgrB/PSgjAZyBwYkbVIa4IFkm4fx2lcbhmrHiiLbAAWUk3QdR5L3rrjMtJ6i+M5NyYBX/W0CUKhRjJdiI2PGKzJhBvSZOcUDMiPgNdMN6h4zIGwfzaQlLk7MrKs44TDDeCSHCIjFs/FBILMXEsmLGpxI0CkjJcxIrdkqQOcA4MJAhzwQU6skcUq2z/jKswWjdp1p9TGuq3V+qmClawDaqgYhkGUVCGQ0jszouLNEouRLayo3qg2al4T7EPVer+Oieg/DywYDAJ4o8/G1SiMhqIByPgrARldBEpaAn0v7KZagSr5BCujWsuqaAj5YTQD9H4soblZAIj8z298iAEp4Fc/ALGKcWACBLBq2hCs2ziLXIN6Rq5JE4s2gQEFYYjzyGCTQSApBZFRocKj0JPz/48eJqNoqmbV5iznFqkZbpZbFq1XKctNJK18GXTrS9esO4GyNmMpQtAWyoczOh/z27+30rIxRjQVGaP3vbsMAwZwCITCmND24cxN6LBYGwF4XAqCfG3tBwE9SDigmOBCQwUvWbqAAPpssQCbtwxCSDvDoCb8SNIDfQigAIAAbLQKoVQBC0AYLEAQMQACsAAWGoABmAAHAwKoaBYg1CqEHqogqqgAE4ai0AAAye/TwIcPAgACMAgneS9GE8ZgpvzeW5INb23tATfjAN0AA== -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=Learnathon-By-Geeky-Solutions/bytebuilders-&utm_content=27):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai plan` to trigger planning for file edits and PR creation.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
author_association: NONE
user: login: Warhammer4000
created_at: 2025-04-13T17:14:35Z
body: ![](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)

### :tada: **Snyk checks have passed. No issues have been found so far.**

:white_check_mark: **security/snyk** check is complete. No issues have been found. [(View Details)](https://app.snyk.io/org/warhammer4000/pr-checks/f3c7223a-ecf9-4e82-bd1d-07d1bf242388?refs=b6d22bdcfbce54738c2af7242ef297d0220b8b1b&source=prChecksComment)



author_association: CONTRIBUTOR
user: login: sonarqubecloud[bot]
created_at: 2025-04-13T17:14:48Z
body: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27) **Quality Gate passed**  
Issues  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27&issueStatuses=ACCEPTED)

Measures  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27&metric=new_coverage&view=list)  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27&metric=new_duplicated_lines_density&view=list)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=Learnathon-By-Geeky-Solutions_bytebuilders-&pullRequest=27)


author_association: NONE