From a36c67266ff24430c3df59d1d6443d8c48d67bdb Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Fri, 1 Mar 2024 16:41:42 +0100 Subject: [PATCH] update slack msg --- .idea/dataSources.xml | 2 +- src/Entity/Order.php | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index 346ea4f..1810e82 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -14,7 +14,7 @@ true DDEV generated data source org.mariadb.jdbc.Driver - jdbc:mariadb://127.0.0.1:60724/db?user=db&password=db + jdbc:mariadb://127.0.0.1:32788/db?user=db&password=db $ProjectFileDir$ diff --git a/src/Entity/Order.php b/src/Entity/Order.php index 9b7027b..6abce8d 100644 --- a/src/Entity/Order.php +++ b/src/Entity/Order.php @@ -42,6 +42,12 @@ class Order #[ORM\Column(name: 'change_date', type: Types::DATETIME_MUTABLE, nullable: true, options: ['default' => 'CURRENT_TIMESTAMP'])] private ?DateTimeInterface $changeDate = null; + #[ORM\Column(length: 255, nullable: true)] + private ?string $han = null; + + #[ORM\Column(length: 255, nullable: true)] + private ?string $marke = null; + public function getId(): ?int { return $this->id; @@ -94,4 +100,28 @@ class Order return $this; } + + public function getHan(): ?string + { + return $this->han; + } + + public function setHan(?string $han): static + { + $this->han = $han; + + return $this; + } + + public function getMarke(): ?string + { + return $this->marke; + } + + public function setMarke(?string $marke): static + { + $this->marke = $marke; + + return $this; + } } \ No newline at end of file