issues
search
jose-correia
/
brain
Infrastructure for a technological conference, serving both the administration app and attendees app. Has a role-based authentication and can also be used to manage the website of the event.
https://brain.jeec.ist/admin/
GNU General Public License v3.0
1
stars
2
forks
source link
Create Meals table and Dishes table and User_Meals table and Company_Meals table
#47
Closed
jose-correia
closed
4 years ago
jose-correia
commented
4 years ago
1 meal to many dishes
Fields meals:
day
type (dinner, lunch, etc)
dishes
premium meal
location
Dishes
name
Fields user
meals
add role "food_manager" and if he has this role he can set the meals of the others
Fields company_meals
company_id
meal_id
maximum_number of each meal (its the number of users basically, but must be editable in the admin)
Fields user_meals:
user_id
meal_id
1 meal to many dishes
Fields meals:
Dishes
Fields user
Fields company_meals
Fields user_meals: