<?php

namespace App\Models;

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

class AnnuaireDetail extends Model
{
    protected $fillable = [
        'annonce_id', 'secteur', 'adresse', 'horaires',
        'services', 'site_web', 'reseaux_sociaux',
    ];

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