Browse Source

ModuleRecord entity add system property

master
Egorka 6 years ago
parent
commit
7f7cd1fa89
  1. 5
      core/entities/ModuleRecord.php

5
core/entities/ModuleRecord.php

@ -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;
/** /**

Loading…
Cancel
Save