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