<?php

namespace App\Models;

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


class Lead extends Model
{
    use HasFactory,SoftDeletes;
    protected $table = 'leads';
    public $timestamps = true;
    protected $guarded = [];
    public function employeeName(){
    	return $this->hasOne('App\Models\Employee', 'id', 'employee_id');
    }
}
