<?php

namespace App\Models;

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

class StreetLampInfo extends Model
{
    use HasFactory;

    protected $table = 'street_lamp_info';

    protected $fillable = [
        'type_of_sign',
        'site_address',
        'number_poles',
        'weight_sign',
        'lenght_sign',
        'width_sign',
        'photo_montage',
        'owner_consent'
    ];

    public function streetLampsAds() {
        return $this->belongsTo(StreetLampsAds::class);
    }
}
