<?php

namespace App\Common\Glossary\Classes;

use ORM\Entity as Entity;

class Glossary extends Entity {

    //const _idPolice = Array("type" => "", "min" => 0, "max" => 100000, "step" => 2);

    const _tableName = "glossarys";

    /*const _properties = Array(
        "id"   => ['listable' => true,  'searcheble' => false, 'orderable' => false],
        "name" => ['listable' => true,  'searcheble' => true]);
    */

    const _properties = Array(
        'id',
        'name',
        'description'
    );

    /*protected $_ignore = Array(

    );*/

    const _listable = Array(
        'id',
        'name'
    );

    const _searchable = Array(
        'name'
    );

    const _orderable = Array(

    );

    /*const _datatables = Array(

    );*/

    //const _timestamps = true;
    //const _softdelete = true;

    //const _connectionName = "";
}