New Controllers added. Added Charts

This commit is contained in:
structix committed 2017-09-19 22:01:00 +02:00
1 parent ccc5b07ddf
commit 930311b550
400 files changed
+30686 -8

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Stats extends Model
{
/**
* The database table uses by the model.
*
* @var string
*/
protected $table = 'stats';
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = [
'created_at',
];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'node_id',
'pin',
'humidity',
'temperature',
'isoutside',
'gm3',
'created_at'
];
/**
* The attributes excluded from the model's JSON form
*
* @var array
*/
protected $hidden = [
//
];
}