♻️ Importa PageTop usando el prelude
This commit is contained in:
parent
8651b91ab2
commit
404739a3fd
31 changed files with 96 additions and 112 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue