<?php

namespace App\Models;

use App\Traits\Blameable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class CorporateServiceConfig extends Model
{
    use HasFactory, SoftDeletes, Blameable;

    protected $fillable = [
        'corporate_service_id',
        'name',
        'value'
    ];

    public function corporateService()
    {
        return $this->belongsTo(CorporateService::class, 'corporate_service_id');
    }
}
