inital commit

This commit is contained in:
2024-02-01 09:53:53 +00:00
commit 9743fce12b
19771 changed files with 4230637 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Traits\ReportAble;
class RoadPatrolProject extends Model
{
use ReportAble;
protected $fillable = [
'user_id',
'start_lat',
'start_lng',
'end_lat',
'end_lng',
'project_distance',
'province_id',
'province_fa',
'city_id',
'city_fa',
'start_way_id',
'end_way_id',
];
public function user()
{
return $this->belongsTo('App\Models\User');
}
public function roadPatrolSubProjects()
{
return $this->hasMany('App\Models\RoadPatrolSubProject');
}
}