Structure

The definition of an entity is stored in the following tables in the database:

  • lara_ent_entities

  • lara_ent_entity_columns

  • lara_ent_entity_custom_columns

  • lara_ent_entity_object_relations

  • lara_ent_entity_panels

  • lara_ent_entity_relations

  • lara_ent_entity_views

Most of these tables have their own tab in the builder:

Tab: info

The Info tab contains the basic fields of the entity.

The entity key

The most important field is the entity key . Think of it as the slug of the entity. When you create a new entity, you should choose a singular noun as your entity key. So event, and not: events. When controllers are created by the builder, your entity key will be pluralized automatically, following the naming conventions of Laravel.

Other fields

  • Model class *

  • Controller *

  • Title

  • group *

  • menu parent

  • menu position

  • create resource routes

  • front authorisation

Tab: columns

The columns tab contains the list of standard columns for every entity, and here you can enable or disable each field.

  • has user

  • has language

  • has slug

  • has lead

  • has body

  • has status

  • has hideinlist

  • has expiration

  • has app

  • has (custom) fields

Last updated