← Back
Editing: SettlementTemplate.php
<?php namespace App\Entity; use App\Repository\SettlementTemplateRepository; use Doctrine\ORM\Mapping as ORM; #[ORM\Entity(repositoryClass: SettlementTemplateRepository::class)] class SettlementTemplate { #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column(type: 'integer')] private ?int $id = null; #[ORM\OneToOne(inversedBy: 'settlementTemplate', targetEntity: Agency::class)] private ?Agency $agency = null; #[ORM\Column(type: 'string', length: 255, nullable: true)] private ?string $background = null; private bool $eraseBackground = false; #[ORM\Column(type: 'text')] private ?string $html = null; #[ORM\Column(type: 'text', nullable: true)] private ?string $css = null; public function getId(): ?int { return $this->id; } public function getAgency(): ?Agency { return $this->agency; } public function setAgency(?Agency $agency): self { $this->agency = $agency; return $this; } public function getBackground(): ?string { return $this->background; } public function setBackground(?string $background): self { $this->background = $background; return $this; } public function getHtml(): ?string { return $this->html; } public function setHtml(string $html): self { $this->html = $html; return $this; } public function isEraseBackground(): bool { return $this->eraseBackground; } public function setEraseBackground(bool $eraseBackground): self { $this->eraseBackground = $eraseBackground; return $this; } public function getCss(): ?string { return $this->css; } public function setCss(?string $css): self { $this->css = $css; return $this; } }
Save File
Cancel