%PDF- %PDF-
Direktori : /var/www/html/shaban/duassis/api/app/Models/ |
Current File : //var/www/html/shaban/duassis/api/app/Models/Profile.php |
<?php namespace App\Models; /** * @property integer id * @property string phone * @property mixed birthday */ class Profile extends BaseModel { protected $fillable = [ 'phone', 'birthday', ]; protected $guarded = [ 'user_id', ]; protected $casts = [ 'id' => 'integer', 'phone' => 'string', 'birthday' => 'date', ]; protected $dates = [ 'birthday', ]; public function user() { return $this->belongsTo(User::class); } public function country() { return $this->belongsTo(Country::class); } }