πŸ—„οΈ Database Models

This documentation provides a comprehensive overview of all database models in the application, their properties, relationships, and usage patterns.

πŸ“Š Overview

🎯 Key Model Categories

🌍 Geographic Models

πŸ‘₯ People & Organizations

πŸ“¦ Core Content Models

πŸ–ΌοΈ Media Models

🏷️ Classification

πŸ‘€ System Models

πŸ”— Relationship Types

Type Icon Description Example
BelongsTo ⬆️ Foreign key relationships Item β†’ Partner
HasMany ⬇️ One-to-many relationships Country β†’ Item
BelongsToMany ↔️ Many-to-many relationships Artist ↔ Item
MorphTo/MorphMany πŸ”„ Polymorphic relationships Picture β†’ Item/Detail/Partner

🌍 Translation System

βš™οΈ Technical Features

πŸ“ Scopes & Filtering

πŸ› οΈ Traits & Patterns


πŸ“š Complete Models Index

Click any model name below to view its detailed documentation with properties, relationships, and usage examples.

πŸ”€ Alphabetical Model List

Model Category Description
πŸ“ Address Geographic Physical addresses with country relationships
🌍 AddressTranslation Translation Multi-language address translations
🎨 Artist People Artists who create items in collections
✍️ Author People Authors of written content
πŸ–ΌοΈ AvailableImage Media Available images with metadata
πŸ“¦ Collection Content Collections of museum items
🀝 CollectionPartner Relationship Collection-partner associations
🌍 CollectionTranslation Translation Multi-language collection content
πŸ“ž Contact Communication Contact information storage
🌍 ContactTranslation Translation Multi-language contact labels
βš™οΈ Context Configuration Application context settings
πŸ—ΊοΈ Country Geographic Countries using ISO codes
πŸ“‹ Detail Content Detailed item descriptions
🌍 DetailTranslation Translation Multi-language detail content
πŸ›οΈ Exhibition Content Museum exhibitions
🌍 ExhibitionTranslation Translation Multi-language exhibition content
πŸ–ΌοΈ Gallery Content Image galleries
πŸ”— Galleryable Relationship Gallery content associations
🀝 GalleryPartner Relationship Gallery-partner associations
🌍 GalleryTranslation Translation Multi-language gallery content
πŸ“€ ImageUpload Media Uploaded image metadata
🏺 Item Content Core museum items
🌍 ItemTranslation Translation Multi-language item content
🌐 Language Configuration Supported languages (ISO codes)
πŸ“ Location Geographic Specific locations
🌍 LocationTranslation Translation Multi-language location names
🏒 Partner Organization Institutional partners
πŸ“Έ Picture Media Images with metadata and relationships
🌍 PictureTranslation Translation Multi-language picture descriptions
πŸ“Š Project Management Project management
πŸ—ΊοΈ Province Geographic Administrative provinces
🌍 ProvinceTranslation Translation Multi-language province names
🏷️ Tag Classification Content tagging system
🎯 Theme Content Exhibition themes and subthemes
🌍 ThemeTranslation Translation Multi-language theme content
πŸ‘€ User System Application users
πŸ”¨ Workshop Content Workshop information

πŸ’‘ Tip: Use your browser’s search function (Ctrl+F / Cmd+F) to quickly find specific models in this list.

For an overview of model relationships and architecture, see the summary above.