src/CoreBundle/Entity/LogGdprIssue.php line 11

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