mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
31 lines
603 B
PHP
31 lines
603 B
PHP
<?php
|
|
|
|
namespace Appwrite\Utopia\Database\Validator\Queries;
|
|
|
|
use Appwrite\Utopia\Database\Validator\Queries\Collection;
|
|
|
|
class Users extends Collection
|
|
{
|
|
public const ALLOWED_ATTRIBUTES = [
|
|
'$id',
|
|
'$createdAt',
|
|
'$updatedAt',
|
|
'name',
|
|
'email',
|
|
'phone',
|
|
'status',
|
|
'passwordUpdate',
|
|
'registration',
|
|
'emailVerification',
|
|
'phoneVerification',
|
|
];
|
|
|
|
/**
|
|
* Expression constructor
|
|
*
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct('users', self::ALLOWED_ATTRIBUTES);
|
|
}
|
|
}
|