diff --git a/src/entity/base_entity.rs b/src/entity/base_entity.rs index a3bfea7f..ef9386e4 100644 --- a/src/entity/base_entity.rs +++ b/src/entity/base_entity.rs @@ -18,7 +18,8 @@ pub trait EntityName: IdenStatic + Default { Self::table_name(self) } } -/// Each table in database correspond to a Entity implemented [`EntityTrait`]. + +/// An Entity implementing `EntityTrait` represents a table in a database. /// /// This trait provides an API for you to inspect it's properties /// - Column (implemented [`ColumnTrait`])