- 源码: xhadmincn/FastMovieAI (Apache 2.0) - 二开: Docker部署, Swoole改Select, route.php修复, 补update/VERSION - vendor/示例资源已gitignore
23 lines
536 B
PHP
23 lines
536 B
PHP
<?php
|
|
|
|
namespace plugin\shortplay\app\model;
|
|
|
|
use app\model\Basic;
|
|
use plugin\control\app\model\PluginChannelsUser;
|
|
|
|
class PluginShortplayShareEpisode extends Basic
|
|
{
|
|
public function channels()
|
|
{
|
|
return $this->hasOne(PluginChannelsUser::class, 'id', 'channels_uid');
|
|
}
|
|
public function drama()
|
|
{
|
|
return $this->hasOne(PluginShortplayDrama::class, 'id', 'drama_id');
|
|
}
|
|
public function episode()
|
|
{
|
|
return $this->hasOne(PluginShortplayDramaEpisode::class, 'id', 'episode_id');
|
|
}
|
|
}
|