1234567891011121314151617181920 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class MemberFollowTopic extends Model{
- protected $table = 'member_follow_topic';
- protected $guarded = [];
- public function topic()
- {
- return $this->hasOne('App\Models\Topic', 'id', 'topic_id');
- }
- }
|