mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
29 lines
544 B
PHP
29 lines
544 B
PHP
|
<?php
|
||
|
/**
|
||
|
* RuleTrigger.php
|
||
|
* Copyright (C) 2016 Sander Dorigo
|
||
|
*
|
||
|
* This software may be modified and distributed under the terms
|
||
|
* of the MIT license. See the LICENSE file for details.
|
||
|
*/
|
||
|
|
||
|
namespace FireflyIII\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* Class RuleTrigger
|
||
|
*
|
||
|
* @package FireflyIII\Models
|
||
|
*/
|
||
|
class RuleTrigger extends Model
|
||
|
{
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||
|
*/
|
||
|
public function rule()
|
||
|
{
|
||
|
return $this->belongsTo('FireflyIII\Models\Rule');
|
||
|
}
|
||
|
}
|