```mermaid +render --- config: layout: elk --- erDiagram UserProfile ||--o{ Objective: objective UserProfile |o--o{ Subscription: subscription UserProfile |o--o{ Diet: diet UserProfile }o--o{ Ingredient: allergies UserProfile ||--|| User: user Ingredient |o--o{ Diet: diet Recipe }|--o{ Ingredient: ingredients ExercisePlan }|--o{ Exercise: exercises ExercisePlan ||--o{ User: user MealPlan }|--o{ Recipe: meals MealPlan ||--o{ User: user Exercise |o--o{ Equipement: equipements Exercise |o--o{ BodyPart: bodyparts Exercise |o--o{ Muscle: muscles User{ int id bool is_superuser string password datetime last_login datetime date_joined string username string email bool is_active string first_name string last_name bool is_staff } UserProfile{ int id date birthdate bool sexe string gender integer weight integer height string picture } Objective{ int id string name string description string image_url } Subscription { int id string name int price string description string image_url } Ingredient{ int id string name string description string type int calories int proteins int lipids int fibers int sugars int salt } Recipe{ int id string name int minute_preparation int minute_preparation string summary string steps string picture } MealPlan { int id datetime created_date } Diet { int id string name string description } Exercise { int id string name string image string instructions } Equipement { int id string name } BodyPart { int id string name } Muscle { int id string name } ExercisePlan { int id datetime created_date } ```