Initial import

This commit is contained in:
Admin Nasledstvo
2026-05-01 20:52:04 +03:00
commit ac168868ee
10028 changed files with 2337954 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace app\models;
use app\models\register\Partner;
/**
* Class News
* @package app\models
* @property $title
* @property $text
* @property $text_short
* @property $ts_en_title
* @property $ts_en_text
* @property $ts_en_text_short
* @property $media_key
* @property $stream_url
* @property $stream_access
* @property $partner_id
* @property Partner $partner
* @property $is_for_publish
* @property $article_key
*/
class News extends Articles
{
public function getPartner() {
return $this->hasOne(Partner::class, ['id' => 'partner_id']);
}
}