Dashboard sipadu mbip
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

UserKelantanPay.php 790B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Notifications\Notifiable;
  4. use Jenssegers\Mongodb\Auth\User as Authenticatable;
  5. use Jenssegers\Mongodb\Eloquent\SoftDeletes;
  6. class UserKelantanPay extends Authenticatable
  7. {
  8. //
  9. use Notifiable;
  10. use SoftDeletes;
  11. protected $connection = 'mongodb2';
  12. protected $collection = 'user';
  13. protected $guarded = ['_id'];
  14. protected $hidden = [
  15. 'password', 'remember_token',
  16. ];
  17. // public function getJWTIdentifier() {
  18. // return $this->getKey();
  19. // }
  20. // public function getJWTCustomClaims() {
  21. // return [];
  22. // }
  23. public function userdetailkelantan() {
  24. return $this->hasOne('App\Model\UserDetailKelantan','email','email');
  25. }
  26. }