Derive Macro sea_orm::DeriveEntity
source · #[derive(DeriveEntity)]
{
// Attributes available to this derive:
#[sea_orm]
}
Expand description
Create an Entity
Usage
use sea_orm::entity::prelude::*;
#[derive(Copy, Clone, Default, Debug, DeriveEntity)]
pub struct Entity;