diff --git a/sea-orm-codegen/src/entity/entity.rs b/sea-orm-codegen/src/entity/base_entity.rs similarity index 100% rename from sea-orm-codegen/src/entity/entity.rs rename to sea-orm-codegen/src/entity/base_entity.rs diff --git a/sea-orm-codegen/src/entity/mod.rs b/sea-orm-codegen/src/entity/mod.rs index 5badda4f..c1f43126 100644 --- a/sea-orm-codegen/src/entity/mod.rs +++ b/sea-orm-codegen/src/entity/mod.rs @@ -1,13 +1,13 @@ +mod base_entity; mod column; -mod entity; mod generator; mod primary_key; mod relation; mod transformer; mod writer; +pub use base_entity::*; pub use column::*; -pub use entity::*; pub use generator::*; pub use primary_key::*; pub use relation::*;