2016-05-01 00:16:06 +08:00
|
|
|
<?php namespace BookStack;
|
2015-09-05 03:40:36 +08:00
|
|
|
|
|
|
|
class SocialAccount extends Model
|
|
|
|
{
|
|
|
|
|
|
|
|
protected $fillable = ['user_id', 'driver', 'driver_id', 'timestamps'];
|
|
|
|
|
|
|
|
public function user()
|
|
|
|
{
|
2016-05-02 04:20:50 +08:00
|
|
|
return $this->belongsTo(User::class);
|
2015-09-05 03:40:36 +08:00
|
|
|
}
|
|
|
|
}
|