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

Last change on this file since 7ed1069 was d25ba66, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago

ADD post confirmation with multiple phases, notification after succesfully password creation

  • Property mode set to 100644
File size: 400 bytes
RevLine 
[d25ba66]1<?php
2
3namespace App\Models;
4
5use Illuminate\Database\Eloquent\Model;
6
7class Phase extends Model
8{
9 protected $table = "phases";
10 protected $fillable = [
11 "name", "reviewer_role_id"
12 ];
13
14 public function user()
15 {
16 return $this->belongsTo(User::class);
17 }
18
19 public function reviewer()
20 {
21 return $this->belongsTo(Role::class, "reviewer_role_id");
22 }
23}
Note: See TracBrowser for help on using the repository browser.