sea_orm

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,
}