sea_orm::entity::prelude

Derive Macro DeriveActiveModelBehavior

source
#[derive(DeriveActiveModelBehavior)]
Expand description

Models that a user can override

ยงUsage

use sea_orm::entity::prelude::*;

#[derive(
    Clone, Debug, PartialEq, DeriveModel, DeriveActiveModel, DeriveActiveModelBehavior,
)]
pub struct Model {
    pub id: i32,
    pub name: String,
}