|
|
|
|
|
|
|
|
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; |
|
|
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; |
|
|
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; |
|
|
use Lc\CaracoleBundle\Model\User\UserPointSaleInterface; |
|
|
use Lc\SovBundle\Doctrine\Pattern\AbstractFullEntity; |
|
|
use Lc\SovBundle\Doctrine\Pattern\AbstractFullEntity; |
|
|
|
|
|
use App\Entity\File\File; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @ORM\MappedSuperclass() |
|
|
* @ORM\MappedSuperclass() |
|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
protected $userPointSales; |
|
|
protected $userPointSales; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* @ORM\ManyToOne(targetEntity=File::class, cascade={"persist", "remove"}) |
|
|
|
|
|
*/ |
|
|
|
|
|
protected $image; |
|
|
|
|
|
|
|
|
public function __construct() |
|
|
public function __construct() |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
return $this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function getImage(): ?File |
|
|
|
|
|
{ |
|
|
|
|
|
return $this->image; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function setImage(?File $image): self |
|
|
|
|
|
{ |
|
|
|
|
|
$this->image = $image; |
|
|
|
|
|
|
|
|
|
|
|
return $this; |
|
|
|
|
|
} |
|
|
} |
|
|
} |