%PDF- %PDF-
Mini Shell

Mini Shell

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

<?php

namespace App\Models;

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

class SubLocation extends Model
{
    use HasFactory;

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

    public function location()
    {
        return $this->belongsTo(Location::class, 'location_id','id');
    }
}

Zerion Mini Shell 1.0