inital commit
This commit is contained in:
22
app/Models/RoadObservationHistory.php
Normal file
22
app/Models/RoadObservationHistory.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class RoadObservationHistory extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [];
|
||||
|
||||
public function problem()
|
||||
{
|
||||
return $this->belongsTo('App\Models\RoadObserved');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user