Issues (202)

src/Model/Profile.php (1 issue)

Severity
1
<?php
2
3
namespace Siak\Tontine\Model;
4
5
class Profile extends Base
6
{
7
    use Traits\HasProperty;
0 ignored issues
show
The trait Siak\Tontine\Model\Traits\HasProperty requires some properties which are not provided by Siak\Tontine\Model\Profile: $property, $content
Loading history...
8
9
    /**
10
     * Indicates if the model should be timestamped.
11
     *
12
     * @var bool
13
     */
14
    public $timestamps = false;
15
16
    /**
17
     * The attributes that are mass assignable.
18
     *
19
     * @var array
20
     */
21
    protected $fillable = [
22
        'address',
23
        'city',
24
        'country_code',
25
    ];
26
27
    public function user()
28
    {
29
        return $this->belongsTo(User::class);
30
    }
31
}
32