25 lines
440 B
PHP
25 lines
440 B
PHP
<?php
|
|
|
|
namespace app\models;
|
|
|
|
/**
|
|
* Class SeoManagement
|
|
* @package app\models
|
|
* @property $id
|
|
* @property $title
|
|
* @property $title_en
|
|
* @property $key_words
|
|
* @property $key_words_en
|
|
* @property $text
|
|
* @property $text_en
|
|
* @property $page_id
|
|
* @property \app\models\Pages $page
|
|
*/
|
|
class SeoManagement extends _Base
|
|
{
|
|
public function getPage()
|
|
{
|
|
return $this->hasOne(Pages::class, ['id' => 'page_id']);
|
|
}
|
|
}
|