DemoArticlesSave.php 831 B

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