*/ protected $fillable = []; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = []; public function children() { return $this->hasMany(Region::class,'parentId','id'); } public function service() { return $this->hasOne(ProjectServiceRelevancy::class,'service_id','id'); } }