firefly-iii/app/Models/Account.php
2015-02-06 05:14:27 +01:00

30 lines
438 B
PHP

<?php namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
/**
* Class Account
*
* @package FireflyIII\Models
*/
class Account extends Model
{
public function accountMeta()
{
return $this->hasMany('AccountMeta');
}
public function accountType()
{
return $this->belongsTo('AccountType');
}
public function user()
{
return $this->belongsTo('User');
}
}