You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
704 B

<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%plugin}}".
*
* @property integer $id
* @property string $data
*/
class Plugin extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%plugin}}';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['data'], 'required'],
[['data'], 'string'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'data' => 'Data',
];
}
}