<?php

namespace App\Models;

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

class JenisKelamin extends Model
{
    use HasFactory;

    protected $table = 'jenis_kelamin';
    protected $primaryKey = 'id';
    protected $fillable = [
        'jenis_kelamin',
    ];
    
    public function pasien() {
        return $this->hasMany(JenisKelamin::class, 'id');
    }
}
