OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
24
app/Domain/Auth/Models/CurrentUser.php
Normal file
24
app/Domain/Auth/Models/CurrentUser.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Domain\Auth\Models;
|
||||
|
||||
use Carbon\CarbonImmutable;
|
||||
|
||||
class CurrentUser
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
public string $name,
|
||||
public string $profileId,
|
||||
public string $mail,
|
||||
public int $clientId,
|
||||
public string $role,
|
||||
public mixed $settings,
|
||||
public bool $twoFAEnabled,
|
||||
public bool $twoFAVerified,
|
||||
public string $twoFASecret,
|
||||
public bool $isExternalAuth,
|
||||
public CarbonImmutable $createdOn,
|
||||
public CarbonImmutable $modified,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user