abschlussprojekt-device-man.../device-app/app/Models/Device.php
2023-03-26 12:17:43 +02:00

24 lines
558 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Device extends Model
{
/**
* Timestamps are disabled.
* @var boolean
*/
public $timestamps = false;
/**
* The primary key associated with the table Devices.
* @var string
*/
protected $primaryKey = 'device_id';
protected $fillable = ['device_id', 'title', 'device_type', 'description', 'accessories', 'rz_username_buyer', 'serial_number', 'image_url'];
use HasFactory;
}