copy user entity and auth from ysv

This commit is contained in:
Yisroel Baum 2026-05-18 21:32:55 +03:00
parent 9d5bfc33a6
commit 613180d459
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
24 changed files with 612 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<?php
namespace App\User;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $email
* @property string $password_hash
*
* @method static \Illuminate\Database\Eloquent\Builder<static>|UserModel newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|UserModel newQuery()
* @method static \Illuminate\Database\Eloquent\Builder<static>|UserModel query()
* @method static \Illuminate\Database\Eloquent\Builder<static>|UserModel whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder<static>|UserModel whereId($value)
*
* @mixin \Eloquent
*/
class UserModel extends Model
{
protected $table = 'users';
public $timestamps = false;
protected $fillable = ['email', 'password_hash'];
}