inital commit
This commit is contained in:
36
app/Models/Accident251PointsHistory.php
Normal file
36
app/Models/Accident251PointsHistory.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user