♻️ Importa PageTop usando el prelude
This commit is contained in:
parent
8651b91ab2
commit
404739a3fd
31 changed files with 96 additions and 112 deletions
|
|
@ -1,4 +1,3 @@
|
|||
use pagetop::base::component::breadcrumb;
|
||||
use pagetop::prelude::*;
|
||||
|
||||
use crate::LOCALES_ADMIN;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
use pagetop::prelude::*;
|
||||
use pagetop_seaorm::db::*;
|
||||
|
||||
use pagetop::datetime::NaiveDateTime;
|
||||
|
||||
/// Entidad SeaORM para la tabla `settings`.
|
||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
|
||||
#[sea_orm(table_name = "settings")]
|
||||
|
|
@ -14,7 +13,7 @@ pub struct Model {
|
|||
pub updated_by: Option<i32>,
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, 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