1 | <?php namespace Bantenprov\WilayahIndonesia\Models; |
||
11 | class Kecamatan extends Model |
||
12 | { |
||
13 | /** |
||
14 | * Table name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $table = 'districts'; |
||
19 | |||
20 | /** |
||
21 | * The attributes that are mass assignable. |
||
22 | * |
||
23 | * @var mixed |
||
24 | */ |
||
25 | protected $fillable = []; |
||
26 | |||
27 | /** |
||
28 | * The attributes that should be hidden for arrays. |
||
29 | * |
||
30 | * @var array |
||
31 | */ |
||
32 | protected $hidden = []; |
||
33 | |||
34 | public function desa(){ |
||
37 | |||
38 | public function kabupaten(){ |
||
41 | |||
42 | } |