<?php namespace App\Models;

class Events extends GenericCentral
{
    protected $table = 'events';
    protected $primaryKey = 'id';
    public $module = 'events';

    protected $guarded = [];
    protected $appends = ['local_start', 'local_end'];

    public $timestamps = true;
    public $translatable = ['name', 'web_logo', 'app_logo'];

    public function __construct()
    {
        parent::__construct();

    }

    public static function querySelect()
    {

        return "  SELECT events.* FROM events  ";
    }

    public static function queryWhere()
    {

        return "  WHERE events.id IS NOT NULL ";
    }

    public static function queryGroup()
    {
        return "  ";
    }

}
