Skip to content

Loyalty entity#17

Merged
rogargon merged 5 commits into
mainfrom
loyalty
Oct 6, 2025
Merged

Loyalty entity#17
rogargon merged 5 commits into
mainfrom
loyalty

Conversation

@wellington-sbr

Copy link
Copy Markdown
Contributor

I've changed the relationship between the loyalty and product by focusing the loyalty system into a points system, so any customer will own a digital customer card that will accumulate points to redeem a product.

The businesses should decide which product will be linked to this loyalty program, the points it gives by purchasing it and the points needed to redeem it.

This approach seems to be easier but let me know if you've any comment :)

…h loyalty related fields. Updated the Entities Model.
Comment thread src/main/java/cat/udl/eps/softarch/demo/domain/Loyalty.java Outdated
Comment thread src/main/java/cat/udl/eps/softarch/demo/repository/LoyaltyRepository.java Outdated

@francesc-contreras-tech francesc-contreras-tech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review the comments I have added.

@rogargon rogargon merged commit fe32c83 into main Oct 6, 2025
1 check passed
@rogargon rogargon linked an issue Oct 7, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Entity Loyalty

3 participants