<?php

namespace App\Models;

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

class SubContent extends Model
{
    use HasFactory;
	protected $fillable = [
        'title',
        'image',
        'headline',
    ];
	
	public function sun_menu()
	{
		return $this->belongsTo(SubMenu::class);
	}
}
