HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/.trash/old/1app/Models/PrinterJob.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class PrinterJob extends Model
{
    use HasFactory;

    protected $table = 'printer_job';

    protected $fillable = ['model_name', 'serial_number', 'printed_copier', 'printed_printer', 'printed_total', 'scanned_copier', 'scanned_printer', 'scanned_total', 'paper_size_a4', 'paper_size_b5', 'paper_size_a5', 'paper_size_folio', 'paper_size_legal', 'paper_size_letter', 'paper_size_statement', 'paper_size_other_double', 'paper_size_other_single', 'paper_duplex_1_side', 'paper_duplex_2_side', 'paper_combine_none', 'paper_combine_2_in_1', 'paper_combine_4_in_1', 'paper_combine_total', 'printer_id', 'mail_date', 'mail_id'];

    /**
     * The attributes that should be mutated to dates.
     *
     * @var array
     */
    protected $dates = [
        'mail_date',
    ];


    public function printer(): BelongsTo
    {
        return $this->belongsTo(Printer::class, 'printer_id');
    }
}