This commit is contained in:
2024-07-24 14:07:45 +03:00
parent 094e047a5c
commit 043a699c6d
9 changed files with 214 additions and 20 deletions

View File

@ -2,6 +2,11 @@
namespace app\models;
use Illuminate\Database\Eloquent\Model;
/**
* @property string $username
* @property string $email
* @property string $password_hash
*/
class User extends Model {
protected $table = 'user';
protected $fillable = ['username', 'email', 'password_hash', 'role'];