Migrate HickLab3D dashboard and add production auto deployment
Deploy HickLab3D Dashboard / Deploy to production (push) Failing after 19s

This commit is contained in:
Hickmeister
2026-10-10 18:51:23 +01:00
parent 8410a50f26
commit 88dd00551f
974 changed files with 14609 additions and 162573 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Models;
use Database\Factories\PrinterFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
class Printer extends Model
{
/** @use HasFactory<PrinterFactory> */
use HasFactory;
protected $table = 'bambuPrinters';
public $timestamps = false;
protected $fillable = ['printerName', 'printerIp', 'mqttPassword', 'serialNumber', 'userId'];
protected $hidden = ['mqttPassword'];
public function telemetry(): HasMany
{
return $this->hasMany(PrinterTelemetry::class, 'printerId');
}
}