2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* AccountType
|
|
|
|
*
|
2014-07-30 00:14:00 -05:00
|
|
|
* @property integer $id
|
|
|
|
* @property \Carbon\Carbon $created_at
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
* @property string $description
|
2014-07-15 15:16:29 -05:00
|
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\Account[] $accounts
|
2014-07-20 11:24:27 -05:00
|
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereId($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereCreatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereUpdatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\AccountType whereDescription($value)
|
2014-07-15 15:16:29 -05:00
|
|
|
*/
|
2014-07-09 06:19:30 -05:00
|
|
|
class AccountType extends Eloquent
|
|
|
|
{
|
2014-06-29 15:12:33 -05:00
|
|
|
|
2014-07-09 06:19:30 -05:00
|
|
|
public static $factory
|
|
|
|
= [
|
|
|
|
'description' => 'string'
|
|
|
|
];
|
|
|
|
|
|
|
|
public function accounts()
|
|
|
|
{
|
2014-06-29 15:12:33 -05:00
|
|
|
return $this->hasMany('Account');
|
|
|
|
}
|
|
|
|
}
|