chore: more details

This commit is contained in:
Andras Bacsai
2024-07-09 13:59:54 +02:00
parent 6c33bd9c72
commit 33b965d9db
8 changed files with 808 additions and 492 deletions

View File

@@ -23,15 +23,15 @@ use OpenApi\Attributes as OA;
description: 'User model',
type: 'object',
properties: [
'id' => ['type' => 'integer'],
'name' => ['type' => 'string'],
'email' => ['type' => 'string'],
'email_verified_at' => ['type' => 'string'],
'created_at' => ['type' => 'string'],
'updated_at' => ['type' => 'string'],
'two_factor_confirmed_at' => ['type' => 'string'],
'force_password_reset' => ['type' => 'boolean'],
'marketing_emails' => ['type' => 'boolean'],
'id' => ['type' => 'integer', 'description' => 'The user identifier in the database.'],
'name' => ['type' => 'string', 'description' => 'The user name.'],
'email' => ['type' => 'string', 'description' => 'The user email.'],
'email_verified_at' => ['type' => 'string', 'description' => 'The date when the user email was verified.'],
'created_at' => ['type' => 'string', 'description' => 'The date when the user was created.'],
'updated_at' => ['type' => 'string', 'description' => 'The date when the user was updated.'],
'two_factor_confirmed_at' => ['type' => 'string', 'description' => 'The date when the user two factor was confirmed.'],
'force_password_reset' => ['type' => 'boolean', 'description' => 'The flag to force the user to reset the password.'],
'marketing_emails' => ['type' => 'boolean', 'description' => 'The flag to receive marketing emails.'],
],
)]
class User extends Authenticatable implements SendsEmail