Files
backend/app/Models/Accident251PointsHistory.php
2024-02-01 09:53:53 +00:00

37 lines
705 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Accident251PointsHistory extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'accident_251_points_histories';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'user_id',
'previous_lat',
'previous_lng',
'previous_cost',
'previous_progress',
'previous_end_date',
'previous_actions',
'new_files'
];
public function accident251Point()
{
return $this->belongsTo('App\Models\Accident251Point');
}
}