inital commit
This commit is contained in:
31
app/Models/AccidentPointHistory.php
Normal file
31
app/Models/AccidentPointHistory.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AccidentPointHistory extends Model
|
||||
{
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'previous_lat',
|
||||
'previous_lng',
|
||||
'previous_operation',
|
||||
'previous_target',
|
||||
'previous_cost',
|
||||
'previous_progress',
|
||||
'previous_end_date',
|
||||
'previous_actions',
|
||||
'new_files'
|
||||
];
|
||||
|
||||
public function accidentPoint()
|
||||
{
|
||||
return $this->belongsTo('App\Models\AccidentPoint');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user