This commit is contained in:
Chris Tsang 2021-07-16 22:32:42 +08:00
parent c82b23795d
commit ca9aa01f6b

View File

@ -18,7 +18,8 @@ pub trait EntityName: IdenStatic + Default {
Self::table_name(self) 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 /// This trait provides an API for you to inspect it's properties
/// - Column (implemented [`ColumnTrait`]) /// - Column (implemented [`ColumnTrait`])