model

Attribute Macro model 

Source
#[model]
Expand description

Marks a struct as a FORGE model, generating schema metadata for TypeScript codegen.

§Example

#[forge::model]
pub struct User {
    pub id: Uuid,
    pub email: String,
    pub name: String,
    pub created_at: DateTime<Utc>,
}