<?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');
    }
}
