2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* TransactionType
|
|
|
|
*
|
|
|
|
* @property integer $id
|
|
|
|
* @property \Carbon\Carbon $created_at
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
* @property string $type
|
|
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionJournals
|
2014-07-20 11:24:27 -05: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-06-29 15:12:33 -05:00
|
|
|
class TransactionType extends Eloquent {
|
|
|
|
public function transactionJournals() {
|
|
|
|
return $this->hasMany('TransactionJournal');
|
|
|
|
}
|
|
|
|
|
2014-07-09 06:35:33 -05:00
|
|
|
public static $factory = [
|
|
|
|
'type' => 'string'
|
|
|
|
];
|
|
|
|
|
2014-06-29 15:12:33 -05:00
|
|
|
}
|