source: app/Models/UserProfile.php@ f457265

Last change on this file since f457265 was f457265, checked in by Berat Kjufliju <kufliju@…>, 4 years ago

ADD technoweek offer, companies

  • Property mode set to 100644
File size: 598 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 "is_company_profile",
16 "profile_link",
17 "short_bio",
18 "profile_photo_link",
19 "cover_photo_link",
20 "technoblog_email",
21 "facebook_link",
22 "instagram_link",
23 "twitter_link",
24 "skype_link",
25 ];
26
27 public function user() {
28 return $this->belongsTo(User::class);
29 }
30}
Note: See TracBrowser for help on using the repository browser.