src/Flexy/ShopBundle/Entity/Order/NotificationOrder.php line 10
<?phpnamespace App\Flexy\ShopBundle\Entity\Order;use App\Flexy\ShopBundle\Repository\Order\NotificationOrderRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: NotificationOrderRepository::class)]class NotificationOrder{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\Column(nullable: true)]private ?bool $isRead = false;#[ORM\ManyToOne(inversedBy: 'notificationOrders')]private ?Order $sourceOrder = null;#[ORM\Column(nullable: true)]private ?\DateTimeImmutable $createdAt = null;#[ORM\Column(length: 255, nullable: true)]private ?string $created_by = null;public function __construct(){$this->createdAt = new \DateTimeImmutable();$this->isRead = false;}public function getId(): ?int{return $this->id;}public function isIsRead(): ?bool{return $this->isRead;}public function setIsRead(?bool $isRead): static{$this->isRead = $isRead;return $this;}public function getSourceOrder(): ?Order{return $this->sourceOrder;}public function setSourceOrder(?Order $sourceOrder): static{$this->sourceOrder = $sourceOrder;return $this;}public function getCreatedAt(): ?\DateTimeImmutable{return $this->createdAt;}public function setCreatedAt(?\DateTimeImmutable $createdAt): static{$this->createdAt = $createdAt;return $this;}public function getCreatedBy(): ?string{return $this->created_by;}public function setCreatedBy(?string $created_by): static{$this->created_by = $created_by;return $this;}}