| 1 | <?php namespace Bantenprov\Admin\Models; |
||
| 13 | class AdminModel extends Model |
||
| 14 | { |
||
| 15 | protected $table = 'admins'; |
||
| 16 | public $timestamps = true; |
||
| 17 | |||
| 18 | use SoftDeletes; |
||
| 19 | |||
| 20 | protected $dates = ['deleted_at']; |
||
| 21 | protected $fillable = [ |
||
| 22 | 'uuid', |
||
| 23 | 'user_id', |
||
| 24 | 'opd_id', |
||
| 25 | ]; |
||
| 26 | |||
| 27 | public function getUser() |
||
| 31 | |||
| 32 | public function getOpd() |
||
| 36 | } |
||
| 37 |