loco straucture
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-06-16 23:40:53 +02:00
parent 9ce07e8c23
commit af930b79bb
42 changed files with 97 additions and 102 deletions

View File

@@ -1,7 +1,18 @@
//! Shared data layer: the sea-orm entities generated by `loco generate`.
//! Shared data layer: SeaORM entities and their hand-written model extensions.
//!
//! These structs cross-reference each other (relations) and are regenerated as
//! a unit, so they live here centrally. The hand-written model methods,
//! services and view-shaping that use them live in the feature slices
//! (`shop::models`, `checkout::models`, `account::models`, …).
//! `_entities/` contains auto-generated SeaORM code (regenerated as a unit).
//! The sibling files contain hand-written model impls: ActiveModelBehavior,
//! finder methods, business logic, and query helpers.
pub mod _entities;
pub mod audit_logs;
pub mod categories;
pub mod order_items;
pub mod orders;
pub mod product_images;
pub mod product_product_tags;
pub mod product_tags;
pub mod products;
pub mod shipping_methods;
pub mod users;