inital commit

This commit is contained in:
2024-02-01 09:53:53 +00:00
commit 9743fce12b
19771 changed files with 4230637 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class AccidentPoint extends Model
{
/**
* Get all of the point's files.
*/
public function files()
{
return $this->morphMany('App\Models\PointFile', 'point_fileable');
}
public function accidentPointHistories()
{
return $this->hasMany('App\Models\AccidentPointHistory', 'point_id');
}
public function accident251Point()
{
return $this->hasOne('App\Models\Accident251Point');
}
}