source: app/Models/UserProfile.php@ c433da6

Last change on this file since c433da6 was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago

initial commit

  • Property mode set to 100644
File size: 568 bytes
Line 
1<?php
2
3namespace App\Models;
4
5use Illuminate\Support\Str;
6use Illuminate\Database\Eloquent\Model;
7
8class UserProfile extends Model
9{
10 protected $table = "user_profiles";
11
12 protected $fillable = [
13 "technoblog_email",
14 "user_id",
15 "profile_link",
16 "short_bio",
17 "profile_photo_link",
18 "cover_photo_link",
19 "technoblog_email",
20 "facebook_link",
21 "instagram_link",
22 "twitter_link",
23 "skype_link",
24 ];
25
26 public function user() {
27 return $this->belongsTo(User::class);
28 }
29}
Note: See TracBrowser for help on using the repository browser.