Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
3f636cc2
"app/vscode:/vscode.git/clone" did not exist on "bbd58b295b20063c5d5afc256484d2f10a862218"
Commit
3f636cc2
authored
Dec 12, 2022
by
unknown
Browse files
adicionando area tematicas ao model do Avaliador
parent
9cfd3921
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Avaliador.php
View file @
3f636cc2
...
...
@@ -37,4 +37,8 @@ class Avaliador extends Model
public
function
naturezas
(){
return
$this
->
belongsToMany
(
'App\Natureza'
,
'naturezas_avaliadors'
,
'avaliador_id'
);
}
public
function
areaTematicas
()
{
return
$this
->
belongsToMany
(
'App\AreaTematica'
,
'area_tematica_avaliadors'
,
'avaliador_id'
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment