firefly-iii/app/Models/RuleAction.php

39 lines
869 B
PHP
Raw Normal View History

2016-01-11 14:28:29 -06:00
<?php
/**
* RuleAction.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;
2016-01-12 14:09:19 -06:00
2016-01-11 14:28:29 -06:00
/**
2016-01-12 14:09:19 -06:00
* FireflyIII\Models\RuleAction
2016-01-11 14:28:29 -06:00
*
2016-01-11 14:42:51 -06:00
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property integer $rule_id
* @property integer $order
* @property boolean $active
* @property boolean $stop_processing
2016-01-12 14:09:19 -06:00
* @property string $action_type
2016-01-11 14:42:51 -06:00
* @property string $action_value
* @property-read \FireflyIII\Models\Rule $rule
2016-01-11 14:28:29 -06:00
*/
class RuleAction extends Model
{
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function rule()
{
return $this->belongsTo('FireflyIII\Models\Rule');
}
}