<filename>app/Models/provinsi.php<?php

namespace App\Models;

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

class provinsi extends Model
{
    use HasFactory;
    protected $table='provinsi';
    protected $primaryKey = 'id_provinsi';

    public function domisili()
    {
        return $this->hasOne(domisili::class);
    }
}
