Documentation

Kabupaten extends Model
in package
uses HasFactory

Class Kabupaten

Represents a Kabupaten (regency) model for Pelanggan.

Table of Contents

Properties

$latitude  : float
$longitude  : float
$nama  : string
$provinsi_id  : int
$fillable  : mixed
$table  : mixed
The attributes that are mass assignable.

Methods

kecamatan()  : HasMany
Get the kecamatan (districts) associated with the Kabupaten.

Properties

$latitude

public float $latitude

The latitude of the Kabupaten.

$longitude

public float $longitude

The longitude of the Kabupaten.

$nama

public string $nama

The name of the Kabupaten.

$provinsi_id

public int $provinsi_id

The ID of the associated province.

$fillable

protected mixed $fillable = ['nama', 'latitude', 'longitude', 'provinsi_id']

$table

The attributes that are mass assignable.

protected mixed $table = 'kabupaten'

Methods

kecamatan()

Get the kecamatan (districts) associated with the Kabupaten.

public kecamatan() : HasMany
Return values
HasMany

        
On this page

Search results