User.php 761 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. namespace PetstoreIO;
  3. /**
  4. * @OA\Schema(@OA\Xml(name="User"))
  5. */
  6. class User
  7. {
  8. /**
  9. * @OA\Property(format="int64")
  10. * @var int
  11. */
  12. public $id;
  13. /**
  14. * @OA\Property()
  15. * @var string
  16. */
  17. public $username;
  18. /**
  19. * @OA\Property()
  20. * @var string
  21. */
  22. public $firstName;
  23. /**
  24. * @OA\Property()
  25. * @var string
  26. */
  27. public $lastName;
  28. /**
  29. * @var string
  30. * @OA\Property()
  31. */
  32. public $email;
  33. /**
  34. * @var string
  35. * @OA\Property()
  36. */
  37. public $password;
  38. /**
  39. * @var string
  40. * @OA\Property()
  41. */
  42. public $phone;
  43. /**
  44. * User Status
  45. * @var int
  46. * @OA\Property(format="int32")
  47. */
  48. public $userStatus;
  49. }