<?php

namespace App\Models;

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

class Region extends Model
{
    use SoftDeletes;

    protected $table = 'region';
    protected $fillable = [
        'head_id',
        'code',
        'name',
    ];

    public function head()
    {
        return $this->belongsTo('App\Models\Admin');
    }
}
