Skip to main content

Entity (Basic)

#[derive(Entity, Default)]
pub struct MyEntity {
#[primary_key]
id: i32,
name: String,
}