1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00
pixelfed/app/Notification.php

21 lines
302 B
PHP
Raw Normal View History

2018-05-26 22:58:22 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Notification extends Model
{
2018-05-27 03:25:04 +00:00
public function actor()
{
return $this->belongsTo(Profile::class, 'actor_id', 'id');
}
public function profile()
{
return $this->belongsTo(Profile::class, 'profile_id', 'id');
}
2018-05-26 22:58:22 +00:00
}