sea_orm::entity::prelude

Derive Macro 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;