source: app/Models/Company.php@ 7ed1069

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

ADD technoweek offer, companies

  • Property mode set to 100644
File size: 295 bytes
RevLine 
[f457265]1<?php
2
3namespace App\Models;
4
5use Illuminate\Database\Eloquent\Model;
6
7class Company extends Model
8{
9 protected $table = "companies";
10
11 protected $fillable = [
12 "name", "website", "email"
13 ];
14
15 public function users()
16 {
17 return $this->hasMany(User::class);
18 }
19}
Note: See TracBrowser for help on using the repository browser.