%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/crm-ind-code/app/Models/
Upload File :
Create Path :
Current File : /home/silvzytp/crm-ind-code/app/Models/Campaign.php

<?php

namespace App\Models;

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

class Campaign extends Model
{
    use HasFactory;

    /**
     * The attributes that aren't mass assignable.
     *
     * @var array
     */
    protected $guarded = [];

    public function freshLead(){
        return $this->belongsTo(FreshLead::class, 'campaign_id','id');
    }
}

Zerion Mini Shell 1.0