pixelfed/app/Comment.php

19 lines
277 B
PHP
Raw Permalink Normal View History

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Comment extends Model
{
public function profile()
{
2018-08-28 03:07:36 +00:00
return $this->belongsTo(Profile::class);
}
public function status()
{
2018-08-28 03:07:36 +00:00
return $this->belongsTo(Status::class);
}
}