♻️ Importa PageTop usando el prelude

This commit is contained in:
Manuel Cillero 2026-09-20 18:33:37 +02:00
parent 8651b91ab2
commit 404739a3fd
31 changed files with 96 additions and 112 deletions

View file

@ -49,7 +49,7 @@
//! pub name: String,
//! }
//!
//! #[derive(Clone, Copy, Debug, EnumIter, DeriveRelation)]
//! #[derive(Clone, Copy, Debug, DeriveRelation, EnumIter)]
//! pub enum Relation {}
//!
//! // `DeriveEntityModel` genera también `ActiveModel`, `Entity`, `Column` y `PrimaryKey`.
@ -468,7 +468,7 @@ impl<T> Paginated<T> {
/// pub email: String,
/// }
///
/// #[derive(Clone, Copy, Debug, EnumIter, DeriveRelation)]
/// #[derive(Clone, Copy, Debug, DeriveRelation, EnumIter)]
/// pub enum Relation {}
///
/// impl ActiveModelBehavior for ActiveModel {}