Commit 7bd28bad by dianc

Category Updated-2

parent 61e93916
...@@ -4,6 +4,9 @@ namespace common\models; ...@@ -4,6 +4,9 @@ namespace common\models;
use Yii; use Yii;
use common\models\query\CategoryQuery; use common\models\query\CategoryQuery;
use yii\behaviors\SluggableBehavior;
use yii\behaviors\TimestampBehavior;
use trntv\filekit\behaviors\UploadBehavior;
/** /**
* This is the model class for table "{{%category}}". * This is the model class for table "{{%category}}".
...@@ -25,6 +28,7 @@ class Category extends \yii\db\ActiveRecord ...@@ -25,6 +28,7 @@ class Category extends \yii\db\ActiveRecord
const STATUS_ACTIVE = 1; const STATUS_ACTIVE = 1;
const STATUS_IN_ACTIVE = 2; const STATUS_IN_ACTIVE = 2;
public $image;
/** /**
* @inheritdoc * @inheritdoc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment