Files
firefly-iii/app/Models/AccountType.php

18 lines
312 B
PHP
Raw Normal View History

2015-02-06 04:52:16 +01:00
<?php namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
2015-02-06 05:04:06 +01:00
class AccountType extends Model
{
//
public function accounts()
{
2015-02-06 05:35:00 +01:00
return $this->hasMany('FireflyIII\Models\Account');
2015-02-06 05:04:06 +01:00
}
2015-02-07 12:15:53 +01:00
public function getDates()
{
return ['created_at', 'updated_at'];
}
2015-02-06 04:52:16 +01:00
}