<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class VisaServiceSection extends Model { use HasFactory; public function visa_service(){ return $this->belongsTo(VisaService::class); } public function visa_service_section_point(){ return $this->hasMany(VisaServiceSectionPoint::class); } }