%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/sljcon/app/Models/
Upload File :
Create Path :
Current File : /var/www/html/sljcon/app/Models/Section.php

<?php

namespace App\Models;

class Section extends BaseModel
{
    protected $fillable = [
        'title',
        'description',
        'order',
        'project_id'
    ];

    protected $guarded = [
        'project_id',
    ];

    public function project(){
        return $this->belongsTo(Project::class);
    }

    public function media()
    {
        return $this->morphMany(Media::class, 'reference');
    }
}

Zerion Mini Shell 1.0