firefly-iii/app/Models/RuleTrigger.php

33 lines
645 B
PHP
Raw Normal View History

2016-01-11 14:28:29 -06:00
<?php
/**
* RuleTrigger.php
2016-04-01 09:44:46 -05:00
* Copyright (C) 2016 thegrumpydictator@gmail.com
2016-01-11 14:28:29 -06:00
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
2016-01-11 14:28:29 -06:00
*/
declare(strict_types = 1);
2016-01-11 14:28:29 -06:00
namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
2016-11-18 13:06:08 -06:00
/**
* Class RuleTrigger
*
* @package FireflyIII\Models
*/
2016-01-11 14:28:29 -06:00
class RuleTrigger extends Model
{
/**
2016-02-17 08:46:58 -06:00
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
2016-02-17 08:46:58 -06:00
public function rule()
{
return $this->belongsTo('FireflyIII\Models\Rule');
}
2016-01-11 14:28:29 -06:00
}