*/ protected $fillable = ['purchasing_information_id', 'price', 'timestamp_warranty_end', 'timestamp_purchase', 'cost_centre', 'seller', 'device_id']; public function device(): BelongsTo { return $this->belongsTo(Device::class, 'device_id', 'device_id'); } //Timestamps are disabled. public $timestamps = false; }