ubah ke docker mode

This commit is contained in:
servdal
2025-07-16 07:36:13 +07:00
parent 6871d14f94
commit 9471bf22f5
15161 changed files with 112 additions and 0 deletions

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
<?php
namespace App\Models;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'nama', 'username', 'password', 'previlage', 'tandatangan', 'photo', 'firebase'
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password'
];
public function getPhoto()
{
return $this->hasOne('App\XFiles','xmarking','photo');
}
public function getTandatangan()
{
return $this->hasOne('App\XFiles','xmarking','tandatangan');
}
}