ayan-biswas0412 / gssoc2021-HotelOnTouch

👨‍🔧👨‍🔧Manage your all hotel services at one place - This is the project repository for HotelOnTouch Project and this project is actively looking for new contributors👨‍🔧👩‍🏫
https://hotelontouch.netlify.app
GNU General Public License v3.0
70 stars 82 forks source link

Services model added #121

Closed singhayushh closed 3 years ago

singhayushh commented 3 years ago

Fixes #99

Changes done

Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

✅️ By submitting this PR, I have verified the following

singhayushh commented 3 years ago

I think the service schema name should be enum type like it should be chosen from a predefined list what you say

There are two models under this

Enum is just object of strings and if we use that, we will have to manually write all the services but if we use the above system, the admin will be able to add to the predefined list on his own and the same will be reflected in available services for the customers.