src/Entity/Core/Log/LogGdprIssue.php line 10

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace App\Entity\Core\Log;
  3. use DateTime;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Table('log_gdpr_issue')]
  6. #[ORM\Entity(repositoryClass: LogGdprIssueRepository::class)]
  7. class LogGdprIssue
  8. {
  9. /**
  10. * @var int
  11. */
  12. #[ORM\Column(name: 'id', type: 'integer')]
  13. #[ORM\Id]
  14. #[ORM\GeneratedValue(strategy: 'AUTO')]
  15. private int $id;
  16. /**
  17. * @var DateTime
  18. */
  19. #[ORM\Column(name: 'timestamp', type: 'datetime')]
  20. private DateTime $timestamp;
  21. /**
  22. * @var int
  23. */
  24. #[ORM\Column(name: 'teacher_id', type: 'integer')]
  25. private int $teacherId;
  26. /**
  27. * @var int
  28. */
  29. #[ORM\Column(name: 'student_id', type: 'integer')]
  30. private int $studentId;
  31. /**
  32. * @var string
  33. */
  34. #[ORM\Column(name: 'message', type: 'string')]
  35. private string $message;
  36. /**
  37. * @var string
  38. */
  39. #[ORM\Column(name: 'endpoint', type: 'string')]
  40. private string $endpoint;
  41. public function getId(): int
  42. {
  43. return $this->id;
  44. }
  45. public function setId(int $id): void
  46. {
  47. $this->id = $id;
  48. }
  49. public function getTimestamp(): DateTime
  50. {
  51. return $this->timestamp;
  52. }
  53. public function setTimestamp(DateTime $timestamp): void
  54. {
  55. $this->timestamp = $timestamp;
  56. }
  57. public function getTeacherId(): int
  58. {
  59. return $this->teacherId;
  60. }
  61. public function setTeacherId(int $teacherId): void
  62. {
  63. $this->teacherId = $teacherId;
  64. }
  65. public function getStudentId(): int
  66. {
  67. return $this->studentId;
  68. }
  69. public function setStudentId(int $studentId): void
  70. {
  71. $this->studentId = $studentId;
  72. }
  73. public function getMessage(): string
  74. {
  75. return $this->message;
  76. }
  77. public function setMessage(string $message): void
  78. {
  79. $this->message = $message;
  80. }
  81. public function getEndpoint(): string
  82. {
  83. return $this->endpoint;
  84. }
  85. public function setEndpoint(string $endpoint): void
  86. {
  87. $this->endpoint = $endpoint;
  88. }
  89. }