Commit 16cb8c0e authored by Shakarim Sapa's avatar Shakarim Sapa

- Added stop words model

parent 3f1e0be4
<?php
namespace common\modules\analyticsSchool\models;
use Yii;
/**
* This is the model class for table "user_stop_words".
*
* @property integer $id
* @property integer $active
* @property string $word
*/
class UserStopWords extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return 'user_stop_words';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['active'], 'integer'],
[['word'], 'required'],
[['word'], 'string', 'max' => 255],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'active' => 'Active',
'word' => 'Word',
];
}
}
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