2016-05-20 01:57:45 -05:00
|
|
|
<?php
|
2016-05-20 05:41:23 -05:00
|
|
|
/**
|
|
|
|
* Component.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms
|
|
|
|
* of the MIT license. See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2016-05-20 01:57:45 -05:00
|
|
|
declare(strict_types = 1);
|
|
|
|
|
|
|
|
namespace FireflyIII\Models;
|
2015-02-27 09:48:33 -06:00
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
/**
|
2016-01-15 15:32:21 -06:00
|
|
|
* Class Component
|
2015-02-27 09:48:33 -06:00
|
|
|
*
|
2016-02-04 00:28:39 -06:00
|
|
|
* @property int $transaction_journal_id
|
2016-01-15 15:32:21 -06:00
|
|
|
* @package FireflyIII\Models
|
2016-02-04 00:28:39 -06:00
|
|
|
* @property integer $id
|
2016-01-30 02:52:05 -06:00
|
|
|
* @property \Carbon\Carbon $created_at
|
|
|
|
* @property \Carbon\Carbon $updated_at
|
|
|
|
* @property \Carbon\Carbon $deleted_at
|
2016-02-04 00:28:39 -06:00
|
|
|
* @property string $name
|
|
|
|
* @property integer $user_id
|
|
|
|
* @property string $class
|
2016-03-12 00:36:23 -06:00
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereId($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereCreatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereUpdatedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereDeletedAt($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereName($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereUserId($value)
|
|
|
|
* @method static \Illuminate\Database\Query\Builder|\FireflyIII\Models\Component whereClass($value)
|
|
|
|
* @mixin \Eloquent
|
2015-02-27 09:48:33 -06:00
|
|
|
*/
|
|
|
|
class Component extends Model
|
|
|
|
{
|
2016-04-06 02:27:45 -05:00
|
|
|
protected $dates = ['created_at', 'updated_at', 'deleted_at'];
|
2016-01-16 14:32:36 -06:00
|
|
|
protected $fillable = ['user_id', 'name', 'class'];
|
|
|
|
|
2015-02-27 09:48:33 -06:00
|
|
|
}
|