for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Models;
class Notifications extends AbstractModel
{
/**
* Apps notication type
*/
const APPS = 1;
* Users notification type
const USERS = 2;
* System notification type
const SYSTEM = 3;
*
* @var integer
public $id;
public $users_id;
public $companies_id;
public $apps_id;
public $system_modules_id;
public $entity_id;
* @var string
public $content;
public $is_deleted;
public $created_at;
public $updated_at;
* Initialize method for model.
public function initialize()
$this->setSource('notifications');
}
* Returns table name mapped in the model.
* @return string
public function getSource(): string
return 'notifications';