firefly-iii/app/Models/Component.php

23 lines
368 B
PHP
Raw Normal View History

2015-02-27 09:48:33 -06:00
<?php namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
/**
2016-01-15 15:32:21 -06:00
* Class Component
2015-02-27 09:48:33 -06:00
*
2016-01-15 15:32:21 -06:00
* @package FireflyIII\Models
2015-02-27 09:48:33 -06:00
*/
class Component extends Model
{
2016-01-16 14:32:36 -06:00
protected $fillable = ['user_id', 'name', 'class'];
/**
* @return array
*/
public function getDates()
{
return ['created_at', 'updated_at', 'deleted_at'];
}
2015-02-27 09:48:33 -06:00
}