2015-02-27 16:48:33 +01:00
|
|
|
<?php namespace FireflyIII\Models;
|
|
|
|
|
|
|
|
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
|
2016-01-30 09:52:05 +01:00
|
|
|
* @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
|
2015-02-27 16:48:33 +01:00
|
|
|
*/
|
|
|
|
class Component extends Model
|
|
|
|
{
|
2016-01-16 21:32:36 +01:00
|
|
|
protected $fillable = ['user_id', 'name', 'class'];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function getDates()
|
|
|
|
{
|
|
|
|
return ['created_at', 'updated_at', 'deleted_at'];
|
|
|
|
}
|
|
|
|
|
2015-02-27 16:48:33 +01:00
|
|
|
}
|