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
+11 -4
View File
@@ -2,16 +2,23 @@
namespace App\Models;
use App\Models\Concerns\NotificationContext;
use App\Models\Concerns\Reportable;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Database\Eloquent\Model;
/**
* Change proposal
*
* @property Row[]|Collection $addedRows
* @property Row[]|Collection $removedRows
* @property int $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property int $table_id
* @property int $revision_id
* @property int $author_id
* @property string $note
* @property User $author
* @property Table $table
* @property Revision $revision
* @property object $changes - JSONB
*/
class Proposal extends Model
{