<?php

namespace App\Models;

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

class UnlockOrder extends Model
{
    use HasFactory;

    protected $fillable = [
        'business_id',
        'customer_name',
        'phone',
        'device_model',
        'imei',
        'service_type',
        'note',
        'status',
    ];

    public function business(): BelongsTo
    {
        return $this->belongsTo(Business::class);
    }
}
