Moved some JSON around. [skip-ci]

This commit is contained in:
James Cole
2014-07-15 07:08:13 +02:00
parent 0e09e52e45
commit 09b6c4d982
8 changed files with 82 additions and 3 deletions

View File

@@ -49,4 +49,19 @@ class User extends Elegant implements UserInterface, RemindableInterface
return $this->hasMany('Preference');
}
public function components()
{
return $this->hasMany('Component');
}
public function budgets()
{
return $this->hasMany('Budget');
}
public function categories()
{
return $this->hasMany('Category');
}
}