hasMany(Azmayesh::class); } public function azmayeshFields(): BelongsToMany { return $this->belongsToMany(AzmayeshField::class,'azmayesh_field_azmayesh_type'); } }