<?php

namespace App\Models;

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

class CSVClientEntetes extends Model
{
    use HasFactory;

    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = CARTOGRAPHIE::CSV_CLIENT_ENTETES;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'nom',
    ];

    public function structureId()
    {
        return $this->belongsTo(Structure::class);
    }
}
