Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/AplusAgency/src/commit/f4ed183a9a631624fc4d786125c5eb31fc3df001/app/Models/ServiceSection.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 

18 lines
382 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ServiceSection extends Model
{
use HasFactory;
public function service(){
return $this->belongsTo(Service::class);
}
public function service_section_point(){
return $this->hasMany(ServiceSectionPoint::class);
}
}