1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Model System - Modular model trait system for database entities
//!
//! This module provides a decomposed model system with focused traits for
//! different aspects of model functionality:
//!
//! - `core_trait`: Core Model trait definition
//! - `primary_key`: Primary key types and utilities
//! - `crud_operations`: Create, Read, Update, Delete operations
//! - `query_methods`: Collection and batch query operations
//! - `extensions`: Utility methods and convenience functions
//! - `abstraction`: Database-agnostic operations
// Re-export main types and traits for convenience
pub use ModelAbstracted;
pub use Model;
pub use CrudOperations;
pub use ModelExtensions;
pub use ModelLifecycle;
pub use PrimaryKey;
pub use QueryMethods;
// Re-export all traits in a single composite trait for easy importing
/// Composite trait that includes all model functionality
// Implement FullModel for all types that implement the component traits