2014-06-29 15:12:33 -05:00
|
|
|
<?php
|
2014-09-04 01:31:45 -05:00
|
|
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
2014-11-10 11:38:58 -06:00
|
|
|
|
2014-11-17 00:33:18 -06:00
|
|
|
|
2014-07-15 15:16:29 -05:00
|
|
|
/**
|
|
|
|
* TransactionCurrency
|
|
|
|
*
|
2014-11-17 00:33:18 -06:00
|
|
|
* @property integer $id
|
|
|
|
* @property \Carbon\Carbon $created_at
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
* @property string $code
|
2014-08-13 00:02:13 -05:00
|
|
|
* @property-read \Illuminate\Database\Eloquent\Collection|\TransactionJournal[] $transactionjournals
|
2014-11-17 15:32:55 -06:00
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereId($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCreatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereUpdatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\TransactionCurrency whereCode($value)
|
2014-07-15 15:16:29 -05:00
|
|
|
*/
|
2014-07-09 06:35:33 -05:00
|
|
|
class TransactionCurrency extends Eloquent
|
|
|
|
{
|
2014-06-29 15:12:33 -05:00
|
|
|
|
2014-08-10 11:22:42 -05:00
|
|
|
/**
|
|
|
|
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
|
|
|
*/
|
|
|
|
public function transactionjournals()
|
2014-07-09 06:35:33 -05:00
|
|
|
{
|
2014-06-29 15:12:33 -05:00
|
|
|
return $this->hasMany('TransactionJournal');
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|