<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * UserViewedNotifications * * @ORM\Table(name="user_viewed_notifications") * @ORM\Entity(repositoryClass="App\Repository\UserViewedNotificationsRepository") */class UserViewedNotifications{ /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var int * * @ORM\Column(name="user_id", type="integer") */ private $userId; /** * @var int * * @ORM\Column(name="notification_id", type="integer") */ private $notificationId; /** * @var \DateTime * * @ORM\Column(name="created_at", type="datetime") */ private $createdAt; /** * Get id * * @return int */ public function getId() { return $this->id; } /** * Set userId * * @param integer $userId * * @return UserViewedNotifications */ public function setUserId($userId) { $this->userId = $userId; return $this; } /** * Get userId * * @return int */ public function getUserId() { return $this->userId; } /** * Set notificationId * * @param integer $notificationId * * @return UserViewedNotifications */ public function setNotificationId($notificationId) { $this->notificationId = $notificationId; return $this; } /** * Get notificationId * * @return int */ public function getNotificationId() { return $this->notificationId; } /** * Set createdAt * * @param \DateTime $createdAt * * @return UserViewedNotifications */ public function setCreatedAt($createdAt) { $this->createdAt = $createdAt; return $this; } /** * Get createdAt * * @return \DateTime */ public function getCreatedAt() { return $this->createdAt; }}