src/Entity/CRM/OrderDivided.php line 9
<?phpnamespace App\Entity\CRM;use App\Repository\OrderDividedRepository;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: OrderDividedRepository::class)]class OrderDivided{#[ORM\Id]#[ORM\GeneratedValue]#[ORM\Column]private ?int $id = null;#[ORM\ManyToOne(inversedBy: 'orderDivideds')]#[ORM\JoinColumn(nullable: false)]private ?Order $orderId = null;#[ORM\ManyToOne(inversedBy: 'orderDivideds')]#[ORM\JoinColumn(nullable: false)]private ?Consultant $consultant = null;#[ORM\Column]private ?float $value = null;public function getId(): ?int{return $this->id;}public function getOrderId(): ?Order{return $this->orderId;}public function setOrderId(?Order $orderId): static{$this->orderId = $orderId;return $this;}public function getConsultant(): ?Consultant{return $this->consultant;}public function setConsultant(?Consultant $consultant): static{$this->consultant = $consultant;return $this;}public function getValue(): ?float{return $this->value;}public function setValue(float $value): static{$this->value = $value;return $this;}}