瀏覽代碼

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/CaracoleBundle into develop

feature/ticket
Fab 3 年之前
父節點
當前提交
4f8571a9ec
共有 4 個檔案被更改,包括 5 行新增5 行删除
  1. +2
    -2
      Model/Merchant/MerchantModel.php
  2. +1
    -1
      Model/Order/OrderShopModel.php
  3. +1
    -1
      Model/PointSale/PointSaleModel.php
  4. +1
    -1
      Model/User/VisitorModel.php

+ 2
- 2
Model/Merchant/MerchantModel.php 查看文件

@@ -61,7 +61,7 @@ abstract class MerchantModel extends AbstractFullEntity
protected $productCategories;

/**
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\News\NewsInterface", mappedBy="merchant", orphanRemoval=true)
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\Site\NewsInterface", mappedBy="merchant", orphanRemoval=true)
*/
protected $news;

@@ -76,7 +76,7 @@ abstract class MerchantModel extends AbstractFullEntity
protected $newsletters;

/**
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\User\GroupUser", mappedBy="merchant")
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\User\GroupUserInterface", mappedBy="merchant")
*/
protected $groupUsers;


+ 1
- 1
Model/Order/OrderShopModel.php 查看文件

@@ -106,7 +106,7 @@ abstract class OrderShopModel extends AbstractLightEntity implements FilterMerch
protected $orderReductionCredits;

/**
* @ORM\ManyToMany(targetEntity="Lc\CaracoleBundle\Model\Order\DocumentInterface", inversedBy="orderShops")
* @ORM\ManyToMany(targetEntity="Lc\CaracoleBundle\Model\File\DocumentInterface", inversedBy="orderShops")
*/
protected $documents;


+ 1
- 1
Model/PointSale/PointSaleModel.php 查看文件

@@ -33,7 +33,7 @@ abstract class PointSaleModel extends AbstractFullEntity implements FilterMultip
protected $code;

/**
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\Pointsale\PointSaleDayInfoInterface", mappedBy="pointSale", orphanRemoval=true)
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface", mappedBy="pointSale", orphanRemoval=true)
*/
protected $pointSaleDayInfos;


+ 1
- 1
Model/User/VisitorModel.php 查看文件

@@ -33,7 +33,7 @@ abstract class VisitorModel
protected $totalVisit;

/**
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\Order\OrderShop", mappedBy="visitor")
* @ORM\OneToMany(targetEntity="Lc\CaracoleBundle\Model\Order\OrderShopInterface", mappedBy="visitor")
*/
protected $orders;


Loading…
取消
儲存