Model structure

Model structure

Since version 4.0 each model is a directory located in "TelosysTools/models".

The directory name is the model name.

A model directory contains

  • a file "model.yaml"

  • n files ".entity" (1 for each entity)

Example : model "employees"

In "employees" directory:
- model.yaml (model file)
- Employee.entity (entity file)
- Company.entity (entity file)
- Project.entity (entity file) 

The "model.yaml" contains basic informations about the model

Each ".entity" file defines an entity, see Entity page for more information about the grammar.

Last updated