Files
firefly-iii/app/Models/Component.php

43 lines
1.5 KiB
PHP
Raw Normal View History

2016-05-20 08:57:45 +02:00
<?php
/**
* 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 08:57:45 +02:00
declare(strict_types = 1);
namespace FireflyIII\Models;
2015-02-27 16:48:33 +01:00
use Illuminate\Database\Eloquent\Model;
/**
2016-01-15 22:32:21 +01:00
* Class Component
2015-02-27 16:48:33 +01:00
*
2016-02-04 07:28:39 +01:00
* @property int $transaction_journal_id
2016-01-15 22:32:21 +01:00
* @package FireflyIII\Models
2016-02-04 07:28:39 +01:00
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
2016-02-04 07:28:39 +01:00
* @property string $name
* @property integer $user_id
* @property string $class
2016-03-12 07:36:23 +01: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 16:48:33 +01:00
*/
class Component extends Model
{
2016-04-06 09:27:45 +02:00
protected $dates = ['created_at', 'updated_at', 'deleted_at'];
2016-01-16 21:32:36 +01:00
protected $fillable = ['user_id', 'name', 'class'];
2015-02-27 16:48:33 +01:00
}