<?php

namespace App\Models;

use App\Models\MainCategory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class Aboutus extends Model
{
    use HasFactory;
    use SoftDeletes;
    protected $dates = ['deleted_at'];

    protected $table = "about_us";

    public function category()
    {
        return $this->belongsTo(MainCategory::class,'category_xid','id');
    }
}
