Documentation

Kelurahan extends Model
in package
uses HasFactory

Class Kelurahan

Represents the Kelurahan model.

Table of Contents

Properties

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

Methods

getKecamatanIdAttribute()  : int
Get the associated Kecamatan ID.
getLatitudeAttribute()  : float
Get the latitude of the Kelurahan.
getLongitudeAttribute()  : float
Get the longitude of the Kelurahan.
getNamaAttribute()  : string
Get the name of the Kelurahan.

Properties

$kecamatan_id

public int $kecamatan_id

The ID of the associated Kecamatan.

$latitude

public float $latitude

The latitude of the Kelurahan.

$longitude

public float $longitude

The longitude of the Kelurahan.

$nama

public string $nama

The name of the Kelurahan.

$fillable

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

$table

The attributes that are mass assignable.

protected mixed $table = 'kelurahan'

Methods

getKecamatanIdAttribute()

Get the associated Kecamatan ID.

public getKecamatanIdAttribute() : int
Return values
int

getLatitudeAttribute()

Get the latitude of the Kelurahan.

public getLatitudeAttribute() : float
Return values
float

getLongitudeAttribute()

Get the longitude of the Kelurahan.

public getLongitudeAttribute() : float
Return values
float

getNamaAttribute()

Get the name of the Kelurahan.

public getNamaAttribute() : string
Return values
string

        
On this page

Search results