Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
cdc203fb
Commit
cdc203fb
authored
Oct 12, 2018
by
beardedwarrior
Browse files
added ide helper docblocks to the models
parent
e7e6430c
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/Deposit.php
View file @
cdc203fb
...
...
@@ -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
{
/**
...
...
app/Project.php
View file @
cdc203fb
...
...
@@ -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
{
/**
...
...
app/User.php
View file @
cdc203fb
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment