Macros collection for converting Structure to Model, for a mango-orm project.
Macros
Model
Macro for converting Structure to mango-orm Model.
The model can access the database.
The model can create, update, and delete documents in collections.
v0.6.10Added the ability to customize html code for web forms. See documentation: mangoorm > widgets > generatehtmlcode > GenerateHtmlCode > generatehtml().
v0.6.9Rename trait ToModel to Main.
v0.6.0The createdat and updatedat fields are automatically added to the Model. The widget type is inputDateTime and disabled = true, ishide = true. Updated README.md. Updated documentation._
v0.5.4Fixed ModelName::key() method. See documentation: mangoorm > models > ToModel._
v0.5.2Import optimized.
v0.5.0Added model attribute isusehooks. See documentation: mangoorm > models > hooks > Hooks._