From cdc203fb38e3dc6ce313ea79c2e7132b36323fcb Mon Sep 17 00:00:00 2001 From: Devin Date: Fri, 12 Oct 2018 16:54:42 +0200 Subject: [PATCH] added ide helper docblocks to the models --- app/Deposit.php | 22 ++++++++++++++++++++++ app/Project.php | 19 +++++++++++++++++++ app/User.php | 22 ++++++++++++++++++++++ 3 files changed, 63 insertions(+) diff --git a/app/Deposit.php b/app/Deposit.php index 3a55d80..419ec2d 100644 --- a/app/Deposit.php +++ b/app/Deposit.php @@ -4,6 +4,28 @@ namespace App; use Illuminate\Database\Eloquent\Model; +/** + * App\Deposit + * + * @property int $id + * @property string $payment_id + * @property string $amount + * @property string $time_received + * @property string $tx_id + * @property int $block_received + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \App\Project $project + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereAmount($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereBlockReceived($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit wherePaymentId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereTimeReceived($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereTxId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Deposit whereUpdatedAt($value) + * @mixin \Eloquent + */ class Deposit extends Model { /** diff --git a/app/Project.php b/app/Project.php index 5f213cd..354eff1 100644 --- a/app/Project.php +++ b/app/Project.php @@ -4,6 +4,25 @@ namespace App; use Illuminate\Database\Eloquent\Model; +/** + * App\Project + * + * @property int $id + * @property string $payment_id + * @property string $target_amount + * @property string $status + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Database\Eloquent\Collection|\App\Deposit[] $deposits + * @property-read mixed $amount_received + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project wherePaymentId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project whereStatus($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project whereTargetAmount($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\Project whereUpdatedAt($value) + * @mixin \Eloquent + */ class Project extends Model { /** diff --git a/app/User.php b/app/User.php index fbc0e58..69077bd 100644 --- a/app/User.php +++ b/app/User.php @@ -6,6 +6,28 @@ use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; +/** + * App\User + * + * @property int $id + * @property string $name + * @property string $email + * @property string|null $email_verified_at + * @property string $password + * @property string|null $remember_token + * @property \Illuminate\Support\Carbon|null $created_at + * @property \Illuminate\Support\Carbon|null $updated_at + * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmail($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereEmailVerifiedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereName($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User wherePassword($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereRememberToken($value) + * @method static \Illuminate\Database\Eloquent\Builder|\App\User whereUpdatedAt($value) + * @mixin \Eloquent + */ class User extends Authenticatable { use Notifiable; -- GitLab