2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
|
|
|
|
2014-08-10 02:57:30 -05:00
|
|
|
use LaravelBook\Ardent\Ardent;
|
2014-06-29 15:12:33 -05:00
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* TransactionType
|
|
|
|
*
|
2014-11-17 00:33:18 -06:00
|
|
|
* @property integer $id
|
|
|
|
* @property \Carbon\Carbon $created_at
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
* @property string $type
|
2014-07-15 15:16:29 -05:00
|
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionJournals
|
2014-11-17 15:32:55 -06:00
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionType whereId($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionType whereCreatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionType whereUpdatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionType whereType($value)
|
2014-07-15 15:16:29 -05:00
|
|
|
*/
|
2014-08-10 02:57:30 -05:00
|
|
|
class TransactionType extends Ardent
|
2014-07-30 00:14:00 -05:00
|
|
|
{
|
2014-07-09 06:35:33 -05:00
|
|
|
|
2014-08-10 11:22:42 -05:00
|
|
|
/**
|
|
|
|
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
|
|
|
*/
|
2014-08-10 02:57:30 -05:00
|
|
|
public function transactionJournals()
|
|
|
|
{
|
|
|
|
return $this->hasMany('TransactionJournal');
|
|
|
|
}
|
|
|
|
|
2014-06-29 15:12:33 -05:00
|
|
|
}
|