forked from mirror/pixelfed
19 lines
273 B
PHP
19 lines
273 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Comment extends Model
|
||
|
{
|
||
|
public function profile()
|
||
|
{
|
||
|
return $this->belongsTo(Profile::class);
|
||
|
}
|
||
|
|
||
|
public function status()
|
||
|
{
|
||
|
return $this->belongsTo(Status::class);
|
||
|
}
|
||
|
}
|