Lara Dev Guide
User Guide (NL)
  • Welcome to Lara CMS 8
  • Overview
    • Meet Lara
    • Features
  • Get started
    • Prerequisites
    • Installation
    • Configuration
  • Architecture
    • Modules
    • Themes
    • App
    • Folder Structure
    • Entities
    • Widgets
  • Builder
    • Content Builder
    • Form Builder
    • Entity Groups
  • The entity
    • Introduction
    • Entity Groups
    • Structure
      • Tab: info
      • Tab: columns
      • Tab: object relations
      • Tab: filters
      • Tab: Panels
      • Tab: media
      • Tab: custom columns
  • Standard Entities
    • Page 1
  • Custom Entities
    • Page 2
  • Translations
    • Backend
    • Frontend
  • Versioning
    • Bitbucket
    • Satis
Powered by GitBook
On this page
  1. The entity

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

PreviousEntity GroupsNextTab: info

Last updated 2 years ago