use App\Entity\Config\TaxRate; | use App\Entity\Config\TaxRate; | ||||
use Lc\CaracoleBundle\Controller\Config\TaxRateAdminController as CaracTaxRateAdminController; | use Lc\CaracoleBundle\Controller\Config\TaxRateAdminController as CaracTaxRateAdminController; | ||||
use Lc\CaracoleBundle\Factory\Config\TaxRateFactory; | |||||
class TaxRateAdminController extends CaracTaxRateAdminController | class TaxRateAdminController extends CaracTaxRateAdminController | ||||
{ | { | ||||
return TaxRate::class; | return TaxRate::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return TaxRateFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Config\Unit; | use App\Entity\Config\Unit; | ||||
use Lc\CaracoleBundle\Controller\Config\UnitAdminController as CaracUnitAdminController; | use Lc\CaracoleBundle\Controller\Config\UnitAdminController as CaracUnitAdminController; | ||||
use Lc\CaracoleBundle\Factory\Config\UnitFactory; | |||||
class UnitAdminController extends CaracUnitAdminController | class UnitAdminController extends CaracUnitAdminController | ||||
{ | { | ||||
public static function getEntityFqcn(): string | public static function getEntityFqcn(): string | ||||
{ | { | ||||
return Unit::class; | return Unit::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return UnitFactory::class; | |||||
} | |||||
} | } |
namespace App\Controller\Credit; | namespace App\Controller\Credit; | ||||
use App\Entity\Credit\CreditHistory; | use App\Entity\Credit\CreditHistory; | ||||
use App\Entity\Newsletter\Newsletter; | |||||
use Lc\CaracoleBundle\Controller\Credit\CreditHistoryAdminController as CaracCreditHistoryAdminController; | use Lc\CaracoleBundle\Controller\Credit\CreditHistoryAdminController as CaracCreditHistoryAdminController; | ||||
use Lc\CaracoleBundle\Factory\Credit\CreditHistoryFactory; | |||||
class CreditHistoryAdminController extends CaracCreditHistoryAdminController | class CreditHistoryAdminController extends CaracCreditHistoryAdminController | ||||
{ | { | ||||
{ | { | ||||
return CreditHistory::class; | return CreditHistory::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return CreditHistoryFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Merchant\Merchant; | use App\Entity\Merchant\Merchant; | ||||
use Lc\CaracoleBundle\Controller\Merchant\MerchantAdminController as CaracMerchantAdminController; | use Lc\CaracoleBundle\Controller\Merchant\MerchantAdminController as CaracMerchantAdminController; | ||||
use Lc\CaracoleBundle\Factory\Merchant\MerchantFactory; | |||||
class MerchantAdminController extends CaracMerchantAdminController | class MerchantAdminController extends CaracMerchantAdminController | ||||
{ | { | ||||
{ | { | ||||
return Merchant::class; | return Merchant::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return MerchantFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Newsletter\Newsletter; | use App\Entity\Newsletter\Newsletter; | ||||
use Lc\CaracoleBundle\Controller\Newsletter\NewsletterAdminController as CaracNewsletterAdminController; | use Lc\CaracoleBundle\Controller\Newsletter\NewsletterAdminController as CaracNewsletterAdminController; | ||||
use Lc\CaracoleBundle\Factory\Newsletter\NewsletterFactory; | |||||
class NewsletterAdminController extends CaracNewsletterAdminController | class NewsletterAdminController extends CaracNewsletterAdminController | ||||
{ | { | ||||
{ | { | ||||
return Newsletter::class; | return Newsletter::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return NewsletterFactory::class; | |||||
} | |||||
} | } |
use App\Entity\PointSale\PointSale; | use App\Entity\PointSale\PointSale; | ||||
use Lc\CaracoleBundle\Controller\PointSale\PointSaleAdminController as CaracPointSaleAdminController; | use Lc\CaracoleBundle\Controller\PointSale\PointSaleAdminController as CaracPointSaleAdminController; | ||||
use Lc\CaracoleBundle\Factory\PointSale\PointSaleFactory; | |||||
class PointSaleAdminController extends CaracPointSaleAdminController | class PointSaleAdminController extends CaracPointSaleAdminController | ||||
{ | { | ||||
return PointSale::class; | return PointSale::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return PointSaleFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Section\Section; | use App\Entity\Section\Section; | ||||
use Lc\CaracoleBundle\Controller\Section\SectionAdminController as CaracSectionAdminController; | use Lc\CaracoleBundle\Controller\Section\SectionAdminController as CaracSectionAdminController; | ||||
use Lc\CaracoleBundle\Factory\Section\SectionFactory; | |||||
class SectionAdminController extends CaracSectionAdminController | class SectionAdminController extends CaracSectionAdminController | ||||
{ | { | ||||
return Section::class; | return Section::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return SectionFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Site\News; | use App\Entity\Site\News; | ||||
use Lc\CaracoleBundle\Controller\Site\NewsAdminController as CaracNewsAdminController; | use Lc\CaracoleBundle\Controller\Site\NewsAdminController as CaracNewsAdminController; | ||||
use Lc\CaracoleBundle\Factory\Site\NewsFactory; | |||||
class NewsAdminController extends CaracNewsAdminController | class NewsAdminController extends CaracNewsAdminController | ||||
{ | { | ||||
{ | { | ||||
return News::class; | return News::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return NewsFactory::class; | |||||
} | |||||
} | } |
use App\Entity\Site\Page; | use App\Entity\Site\Page; | ||||
use Lc\CaracoleBundle\Controller\Site\PageAdminController as CaracPageAdminController; | use Lc\CaracoleBundle\Controller\Site\PageAdminController as CaracPageAdminController; | ||||
use Lc\SovBundle\Factory\Site\PageFactory; | |||||
use Lc\CaracoleBundle\Factory\Site\PageFactory; | |||||
class PageAdminController extends CaracPageAdminController | class PageAdminController extends CaracPageAdminController | ||||
{ | { |
use App\Entity\Ticket\Ticket; | use App\Entity\Ticket\Ticket; | ||||
use Lc\CaracoleBundle\Controller\Ticket\TicketAdminController as CaracTicketAdminController; | use Lc\CaracoleBundle\Controller\Ticket\TicketAdminController as CaracTicketAdminController; | ||||
use Lc\CaracoleBundle\Factory\Ticket\TicketFactory; | |||||
class TicketAdminController extends CaracTicketAdminController | class TicketAdminController extends CaracTicketAdminController | ||||
{ | { | ||||
return Ticket::class; | return Ticket::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return TicketFactory::class; | |||||
} | |||||
} | } |
use App\Entity\User\GroupUser; | use App\Entity\User\GroupUser; | ||||
use Lc\CaracoleBundle\Controller\User\GroupUserAdminController as CaracAbstractUserAdminController; | use Lc\CaracoleBundle\Controller\User\GroupUserAdminController as CaracAbstractUserAdminController; | ||||
use Lc\CaracoleBundle\Factory\User\GroupUserFactory; | |||||
class GroupUserAdminController extends CaracAbstractUserAdminController | class GroupUserAdminController extends CaracAbstractUserAdminController | ||||
{ | { | ||||
public static function getEntityFqcn(): string | |||||
{ | |||||
return GroupUser::class; | |||||
} | |||||
public static function getEntityFqcn(): string | |||||
{ | |||||
return GroupUser::class; | |||||
} | |||||
public function getEntityFactory(): string | |||||
{ | |||||
return GroupUserFactory::class; | |||||
} | |||||
} | } |
use App\Entity\User\UserMerchant; | use App\Entity\User\UserMerchant; | ||||
use Lc\CaracoleBundle\Controller\User\UserMerchantAdminController as CaracUserMerchantAdminController; | use Lc\CaracoleBundle\Controller\User\UserMerchantAdminController as CaracUserMerchantAdminController; | ||||
use Lc\CaracoleBundle\Factory\User\UserMerchantFactory; | |||||
class UserMerchantAdminController extends CaracUserMerchantAdminController | class UserMerchantAdminController extends CaracUserMerchantAdminController | ||||
{ | { | ||||
return UserMerchant::class; | return UserMerchant::class; | ||||
} | } | ||||
public function getEntityFactory(): string | |||||
{ | |||||
return UserMerchantFactory::class; | |||||
} | |||||
} | } |
<?php | |||||
namespace App\Entity\Credit; | |||||
use Lc\CaracoleBundle\Repository\Credit\CreditConfigRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\Credit\CreditConfigInterface; | |||||
use Lc\CaracoleBundle\Model\Credit\CreditConfigModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=CreditConfigRepository::class) | |||||
*/ | |||||
class CreditConfig extends CreditConfigModel implements CreditConfigInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |
<?php | |||||
namespace App\Entity\PointSale; | |||||
use Lc\CaracoleBundle\Repository\PointSale\PointSaleDayInfoRepository; | |||||
use Doctrine\ORM\Mapping as ORM; | |||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoInterface; | |||||
use Lc\CaracoleBundle\Model\PointSale\PointSaleDayInfoModel; | |||||
/** | |||||
* @ORM\Entity(repositoryClass=PointSaleDayInfoRepository::class) | |||||
*/ | |||||
class PointSaleDayInfo extends PointSaleDayInfoModel implements PointSaleDayInfoInterface | |||||
{ | |||||
/** | |||||
* @ORM\Id | |||||
* @ORM\GeneratedValue | |||||
* @ORM\Column(type="integer") | |||||
*/ | |||||
private $id; | |||||
public function getId(): ?int | |||||
{ | |||||
return $this->id; | |||||
} | |||||
} |