src/Entity/CRM/AdminNotificationSettings.php line 9
<?phpnamespace App\Entity\CRM;use App\Repository\AdminNotoficationRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AdminNotoficationRepository::class)]class AdminNotificationSettings{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'adminNotificationSettings')]private ?Admin $admin = null;#[ORM\ManyToOne]#[ORM\JoinColumn(nullable: false)]private ?branch $branch = null;#[ORM\Column]private ?bool $notification = null;public function getId(): ?int{return $this->id;}public function getAdmin(): ?Admin{return $this->admin;}public function setAdmin(?Admin $admin): static{$this->admin = $admin;return $this;}public function getBranch(): ?branch{return $this->branch;}public function setBranch(?branch $branch): static{$this->branch = $branch;return $this;}public function isNotification(): ?bool{return $this->notification;}public function setNotification(bool $notification): static{$this->notification = $notification;return $this;}}