src/Entity/CRM/AccountingOfficeCategory.php line 11
<?phpnamespace App\Entity\CRM;use App\Entity\CRM\Order;use App\Repository\AccountingOfficeCategoryRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: AccountingOfficeCategoryRepository::class)]class AccountingOfficeCategory{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'accountingOfficeCategories')]#[ORM\JoinColumn(nullable: false)]private ?AccountingOfficeCategoryType $categoryType = null;#[ORM\Column(type: Types::DATETIME_MUTABLE)]private ?\DateTimeInterface $dateAdded = null;#[ORM\ManyToOne(inversedBy: 'accountingOfficeCategories')]private ?Order $orderInstance = null;#[ORM\Column]private ?bool $active = null;public function getId(): ?int{return $this->id;}public function getCategoryType(): ?AccountingOfficeCategoryType{return $this->categoryType;}public function setCategoryType(?AccountingOfficeCategoryType $categoryType): static{$this->categoryType = $categoryType;return $this;}public function getDateAdded(): ?\DateTimeInterface{return $this->dateAdded;}public function setDateAdded(\DateTimeInterface $dateAdded): static{$this->dateAdded = $dateAdded;return $this;}public function getOrderInstance(): ?Order{return $this->orderInstance;}public function setOrderInstance(?Order $orderInstance): static{$this->orderInstance = $orderInstance;return $this;}public function isActive(): ?bool{return $this->active;}public function setActive(bool $active): static{$this->active = $active;return $this;}}