| 1 | <?php namespace Bantenprov\WilayahIndonesia\Models; |
||
| 11 | class Kecamatan extends Model |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Table name. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $table = 'indonesia_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 | public $timestamps = false; |
||
| 34 | |||
| 35 | public function desa(){ |
||
| 38 | |||
| 39 | public function kabupaten(){ |
||
| 42 | |||
| 43 | } |