for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Auth\Model;
use Drone\Db\Entity;
class DbUserRole extends Entity
{
/**
* @var string
*/
public $USERNAME;
* @var integer
public $ROLE_ID;
public function __construct($data = [])
parent::__construct($data);
$config = include 'module/Auth/config/user.config.php';
$prefix = $config["database"]["prefix"];
$this->setTableName($prefix . "_" . "DB_USER_ROLE");
}