inital commit
This commit is contained in:
21
app/Models/RmsEvent.php
Normal file
21
app/Models/RmsEvent.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class RmsEvent extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\Models\User');
|
||||
}
|
||||
|
||||
public function eventHistories()
|
||||
{
|
||||
return $this->hasMany('App\Models\RmsEventHistory');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user