<?php

namespace App\Models;

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

class ExpressionOfStreetLamps extends Model
{
    use HasFactory;

    protected $table = 'expression_street_lamps';

    protected $fillable = [
        'letter_interest',
        'status_interest',

    ];

    protected $casts = [
        'status_interest'   => 'boolean'
    ];

    public function  user( ) {
        return $this->belongsTo(User::class);
    }
}
