Deposit.php 1.34 KB
Newer Older
beardedwarrior's avatar
beardedwarrior committed
1 2 3 4 5 6
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/**
 * 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
 */
beardedwarrior's avatar
beardedwarrior committed
29 30 31 32 33 34 35 36 37 38
class Deposit extends Model
{
    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function project()
    {
        return $this->belongsTo(Project::class);
    }
}