Database Models


Severell uses the Ebean ORM and uses their models. See Ebean Docs

Creating a model

Start CLI Tool

First you need to start the Severell CLI tool by running:

mvn severell:cli

To make creating a model easier you can use the make:model command.

make:model User -t users

This command will make a model class called based off the users table and place it in your models package