|
|
@ -4,7 +4,6 @@ namespace core\entities; |
|
|
|
|
|
|
|
|
|
|
|
use core\entities\queries\ModuleRecordQuery; |
|
|
|
use core\entities\queries\ModuleRecordQuery; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* This is the model class for table "modules". |
|
|
|
* This is the model class for table "modules". |
|
|
|
* |
|
|
|
* |
|
|
@ -13,12 +12,16 @@ use core\entities\queries\ModuleRecordQuery; |
|
|
|
* @property string $class |
|
|
|
* @property string $class |
|
|
|
* @property string $type |
|
|
|
* @property string $type |
|
|
|
* @property int $active |
|
|
|
* @property int $active |
|
|
|
|
|
|
|
* @property int $system |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
class ModuleRecord extends \yii\db\ActiveRecord |
|
|
|
class ModuleRecord extends \yii\db\ActiveRecord |
|
|
|
{ |
|
|
|
{ |
|
|
|
const STATUS_ENABLED = 1; |
|
|
|
const STATUS_ENABLED = 1; |
|
|
|
const STATUS_DISABLED = 0; |
|
|
|
const STATUS_DISABLED = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const SYSTEM_YES = 1; |
|
|
|
|
|
|
|
const SYSTEM_NO = 0; |
|
|
|
|
|
|
|
|
|
|
|
public $description; |
|
|
|
public $description; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|