<?php

namespace Workdo\MobileServiceManagement\Entities;

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

class MobileServiceCategory extends Model
{
    use HasFactory;

    protected $fillable = [
        'category_name',
        'workspace',
        'created_by'
    ];

    public function services()
    {
        return $this->hasMany(MobileService::class, 'category_id');
    }
}
