morphMany('App\Models\PointFile', 'point_fileable'); } public function accident251PointsHistories() { return $this->hasMany('App\Models\Accident251PointsHistory', 'point_id'); } public function accidentPoint() { return $this->belongsTo('App\Models\AccidentPoint'); } }