Skip to content

Code generator ​

The generator scaffolds CRUD code from a database table to reduce repetitive work.

Code generator

Usage ​

  1. Select a table in the admin UI
  2. Configure options: module name, editable fields, list columns
  3. Preview the generated code
  4. Download or write to the target directory

Generated content ​

LayerFiles
modelData model and field mapping
dtoRequest and response structures
serviceBasic CRUD logic
controllerAPI layer
frontendList and form pages

Conventions ​

  • Generated code covers basic CRUD only; add business logic yourself
  • Confirm the target directory to avoid overwriting existing code
  • Configure capability codes and data scopes after generation

Next steps ​