firefly-iii/app/Models/Component.php

25 lines
434 B
PHP
Raw Normal View History

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