add doc comments to models
This commit is contained in:
+22
-2
@@ -2,12 +2,32 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\Concerns\NotificationContext;
|
||||
use App\Models\Concerns\Reportable;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* A data table object (referencing changesets and rows)
|
||||
* A data table object (referencing revisions)
|
||||
*
|
||||
* @property int $id
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
* @property int $owner_id
|
||||
* @property int $ancestor_id
|
||||
* @property int $revision_id
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property string $license
|
||||
* @property string $source_link
|
||||
* @property User $owner
|
||||
* @property Table $parentTable
|
||||
* @property Table[]|Collection $forks
|
||||
* @property Revision[]|Collection $revisions
|
||||
* @property Revision $activeRevision
|
||||
* @property Proposal[]|Collection $proposal
|
||||
* @property TableComment[]|Collection $comments
|
||||
* @property User[]|Collection $favouritingUsers
|
||||
* @property User[]|Collection $discussionFollowers
|
||||
*/
|
||||
class Table extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user