<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;
use Slowlyo\OwlAdmin\Models\BaseModel as Model;

/**
 * 用户社交账号
 */
class MemberSocialAccount extends Model
{
	use SoftDeletes;

	protected $table = 'member_social_accounts';

    /**
     * @Author FelixYin
     * @description 社交账号所属会员
     */
    public function member()
    {
        return $this->belongsTo('App\Models\MemberUser', 'user_id');
    }
}