Browse Source

Gestion de deliveryInfos au niveau de l'adresse

master
Guillaume 4 years ago
parent
commit
6625813e24
2 changed files with 21 additions and 5 deletions
  1. +16
    -0
      ShopBundle/Model/Address.php
  2. +5
    -5
      ShopBundle/Model/OrderShop.php

+ 16
- 0
ShopBundle/Model/Address.php View File

*/ */
protected $merchant; protected $merchant;


/**
* @ORM\Column(type="text", nullable=true)
*/
protected $deliveryInfos;


public function __toString() public function __toString()
{ {


return $this; return $this;
} }

public function getDeliveryInfos(): ?string
{
return $this->deliveryInfos;
}

public function setDeliveryInfos(?string $deliveryInfos): self
{
$this->deliveryInfos = $deliveryInfos;

return $this;
}
} }

+ 5
- 5
ShopBundle/Model/OrderShop.php View File

/** /**
* @ORM\Column(type="text", nullable=true) * @ORM\Column(type="text", nullable=true)
*/ */
protected $infosDelivery;
protected $deliveryInfos;


public function __construct() public function __construct()
{ {
return $this; return $this;
} }


public function getInfosDelivery(): ?string
public function getDeliveryInfos(): ?string
{ {
return $this->infosDelivery;
return $this->deliveryInfos;
} }


public function setInfosDelivery(?string $infosDelivery): self
public function setDeliveryInfos(?string $deliveryInfos): self
{ {
$this->infosDelivery = $infosDelivery;
$this->deliveryInfos = $deliveryInfos;


return $this; return $this;
} }

Loading…
Cancel
Save