add doc comments to models

This commit is contained in:
2018-07-14 18:50:25 +02:00
parent f12773ccd1
commit 25cb60d377
8 changed files with 78 additions and 62 deletions
+13 -1
View File
@@ -2,12 +2,24 @@
namespace App\Models;
use App\Models\Concerns\NotificationContext;
use App\Models\Concerns\Reportable;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Comment on a data table
*
* @property int $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property int $table_id
* @property int $author_id
* @property int $ancestor_id
* @property string $message
* @property User $author
* @property Table $table
* @property TableComment|null $ancestor
* @property TableComment[]|Collection $replies
*/
class TableComment extends Model
{