Models and AST (`model!`)

Models and AST (`model!`)

The model! macro generates SeaORM entities, migration schemas, and associated forms from a declarative DSL.

SectionContent
DSL & ASTExposed macros, model! syntax, internal AST, field types and options
Generation & ModelSchemaGenerated code, ModelSchema, to_migration(), fill_form()
Forms & Challenges#[form(...)], technical considerations, reading order

  1. This document (12-model.md)
  2. ORM for database usage
  3. Forms for Prisme integration and rendering