| 1 | <?php |
||
| 14 | class DeviceGraph extends Model |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Indicates if the model should be timestamped. |
||
| 18 | * |
||
| 19 | * @var bool |
||
| 20 | */ |
||
| 21 | public $timestamps = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The table associated with the model. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $table = 'device_graphs'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The attributes that are mass assignable. |
||
| 32 | * |
||
| 33 | * @var array |
||
| 34 | */ |
||
| 35 | protected $fillable = ['device_id','graph']; |
||
| 36 | |||
| 37 | |||
| 38 | public function device() |
||
| 42 | } |
||
| 43 |