<?php

namespace App\Models;

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

class District extends Model
{
    use HasFactory, SoftDeletes;

    protected $fillable = ['division_id', 'name', 'bn_name'];

    public function division()
    {
        return $this->belongsTo(Division::class, 'division_id');
    }
}
