Skip to content

This repository contains Django ORM model definitions for a comprehensive health, fitness, and corporate wellness platform. The platform supports user accounts, workouts, scheduling, gamification, facilities, billing, challenges, and more.

Notifications You must be signed in to change notification settings

Kamran6789/coredirection_Django-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧬 Django Models - Health & Wellness Platform

This repository contains Django ORM model definitions for a comprehensive health, fitness, and corporate wellness platform. The platform supports user accounts, workouts, scheduling, gamification, facilities, billing, challenges, and more.


📦 Contents

This project includes the following models and their purposes:

👤 User Management

  • FosUserUser: Central user model with extended fields for social profiles, contact, business info, and settings.
  • UserEmergency: Stores emergency contact information.
  • UserDocuments: Manages uploaded and verified documents.
  • UserCompany: Links users with companies and roles.
  • UserSaveCardTracking: Tracks saved payment card metadata.
  • UserProfileCategory: Connects users with specific profile categories.

🏋️‍♂️ Fitness & Wellness

  • Workout, WorkoutLevel, WorkoutType: Define fitness workouts and levels.
  • Exercise: Describes each exercise including media and metadata.
  • MemberWorkout: Tracks user workout history and favorites.
  • UserHealthAnalytic: Monitors health metrics like steps, calories, and heart rate.
  • MemberMeasurement: Captures body measurements (waist, weight, chest, etc.).

📍 Facility Management

  • FacilityActivity / Amenity / Gallery / CheckinHistory: Manages facility features, images, check-ins.
  • FacilityPackage: Maps packages available for facilities.

📅 Scheduling & Check-ins

  • MemberScheduleActivity: Tracks class schedules and check-ins.
  • ManualCheckinHistory: Logs manual member check-ins.
  • MemberPackage: Represents user subscriptions and promotions.

💳 Payments & Billing

  • MemberBilling: Logs payments and billing history.
  • UserSaveCardTracking: Stores card information.
  • UserAwardPoint: Tracks points rewarded to users.

🏢 Corporate Features

  • CorporateKey / Department / Domains: Corporate access, departments, and domain settings.
  • ProfileKey: Unique keys and settings per corporate profile.

🏆 Challenges & Gamification

  • Challenge / GamificationChallenge: Defines individual or group challenges.
  • GamificationPoint / Type / Record: Points and progress tracking for gamification.
  • UserGamificationChallenge: Participation tracking in challenges.

🧑‍🤝‍🧑 Social & Groups

  • Groups: User groups and communities.
  • GroupInvites: Invitation system for groups.
  • UserGroups: Tracks user status in groups.

🔗 Relationships

  • Most models reference FosUserUser via ForeignKey for tracking ownership and audit.
  • Many-to-many relationships are used for challenges and groups to track participation.
  • Audit fields like created_date, updated_date, modifiedby, and is_deleted are included across models.

About

This repository contains Django ORM model definitions for a comprehensive health, fitness, and corporate wellness platform. The platform supports user accounts, workouts, scheduling, gamification, facilities, billing, challenges, and more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •