Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plan Management #199

Open
ogomaemmanuel opened this issue Jun 10, 2023 · 7 comments
Open

Plan Management #199

ogomaemmanuel opened this issue Jun 10, 2023 · 7 comments
Assignees

Comments

@ogomaemmanuel
Copy link
Owner

Added end point to manage subsciption plans
Add plan entity will have a name, price, updatedAt, and createdAt , createdBy fields

@Eugene-Oluoch
Copy link
Collaborator

Eugene-Oluoch commented Jun 10, 2023

Under the plan entity, can we create another entity called features which will have a relationship with the entity?

@ogomaemmanuel
Copy link
Owner Author

For the features, add features field which is a list of string and annotate with @ElementCollection

@ogomaemmanuel
Copy link
Owner Author

Also add plan type field which is an enum of Monthly and Yearly

@Eugene-Oluoch
Copy link
Collaborator

Noted, for the api, what fields was I to request from the user?

@ogomaemmanuel
Copy link
Owner Author

plan name, plan price, plan type, and features, features should accept array of string

@Eugene-Oluoch
Copy link
Collaborator

and for the syb-domain is it still underthat ama?

@ogomaemmanuel
Copy link
Owner Author

The sub domain bit will come when a client is doing subcription, when a client will be subscribing to a plan, that's when he/she will set a preffered sub domain.

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

No branches or pull requests

2 participants