···11//! `SeaORM` Entity, @generated by sea-orm-codegen 2.0
22+#![expect(unused_imports)]
2334pub use super::group::Entity as Group;
45pub use super::task::Entity as Task;
···11+//! The DTO's (Data Transfer Objects) used to interact with
22+//! the Database. There is also a simple database struct in here.
33+44+/// Database and its Errors
55+mod db;
66+pub use db::*;
77+88+/// exported traits for the database
99+pub use sea_orm::ActiveModelTrait;
1010+pub use sea_orm::ActiveValue;
1111+1212+/// Exporting this as a generic NanoId.
1313+pub use migration::types::NanoId;
1414+/// Exporting this as DTO so we can newtype this in a later crate
1515+/// and add additional functionality to it.
1616+pub use migration::types::Priority as PriorityDTO;
1717+1818+mod entity;
1919+2020+/// Everything related to groups.
2121+pub use entity::group::ActiveModel as GroupActiveModel;
2222+pub use entity::group::ActiveModelEx as GroupActiveModelEx;
2323+pub use entity::group::Entity as GroupEntity;
2424+pub use entity::group::Model as GroupModel;
2525+pub use entity::group::ModelEx as GroupModelEx;
2626+2727+/// Everything related to tasks.
2828+pub use entity::task::ActiveModel as TaskActiveModel;
2929+pub use entity::task::ActiveModelEx as TaskActiveModelEx;
3030+pub use entity::task::Entity as TaskEntity;
3131+pub use entity::task::Model as TaskModel;
3232+pub use entity::task::ModelEx as TaskModelEx;
3333+3434+/// Everything related to zetetl's.
3535+pub use entity::zettel::ActiveModel as ZettelActiveModel;
3636+pub use entity::zettel::ActiveModelEx as ZettelActiveModelEx;
3737+pub use entity::zettel::Entity as ZettelEntity;
3838+pub use entity::zettel::Model as ZettelModel;
3939+pub use entity::zettel::Model as ZettelModelEx;