1
0
mirror of synced 2025-01-25 01:31:41 +03:00

Merge pull request #7 from gridnevalex/fix_namespaces

Fix Request/Response namespaces
This commit is contained in:
Kruglov Kirill 2020-09-08 16:39:26 +03:00 committed by GitHub
commit db7221f232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 28 additions and 28 deletions

View File

@ -1,13 +1,14 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use Intaro\CRMBundle\Entity\Model\DeliveryTime;
use RetailCrm\DeliveryModuleBundle\Model\DeliveryTime;
use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Traits\ExtraDataTrait;
class RequestCalculate
{
use Traits\ExtraDataTrait;
use ExtraDataTrait;
/**
* Адрес отгрузки.
@ -34,7 +35,7 @@ class RequestCalculate
/**
* Набор упаковок.
*
* @var Intaro\CRMDeliveryBundle\Form\Model\Package[]
* @var RetailCrm\DeliveryModuleBundle\Model\Package[]
*
* @Serializer\Groups({"request", "calculate"})
* @Serializer\SerializedName("packages")

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,10 +1,10 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
use RetailCrm\DeliveryModuleBundle\Model\Customer;
use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Manager;
class RequestSave
{

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,12 +1,13 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Traits\ExtraDataTrait;
class RequestShipmentSave
{
use Traits\ExtraDataTrait;
use ExtraDataTrait;
/**
* Идентификатор отгрузки в службе доставки. Передается если требуется отредактировать уже оформленную отгрузку

View File

@ -1,8 +1,9 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Request;
use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
class RequestStatusUpdateItem
{

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,8 +1,9 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Terminal;
class ResponseCalculate
{

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;

View File

@ -1,9 +1,9 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
use RetailCrm\DeliveryModuleBundle\Model\DeliveryAddress;
use RetailCrm\DeliveryModuleBundle\Model\StatusInfo;
use JMS\Serializer\Annotation as Serializer;
class ResponseLoadDeliveryData

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
class ResponseResult
{

View File

@ -1,13 +1,9 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use Symfony\Component\Validator\Mapping\ClassMetadata;
use Symfony\Component\Validator\Constraints as Assert;
use JMS\Serializer\Annotation as Serializer;
use Intaro\CRMDeliveryBundle\Delivery\Generic\Generic;
class ResponseSave
{
/**

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;
use Symfony\Component\Validator\Constraints as Assert;

View File

@ -1,6 +1,6 @@
<?php
namespace RetailCrm\DeliveryModuleBundle\Model;
namespace RetailCrm\DeliveryModuleBundle\Model\Response;
use JMS\Serializer\Annotation as Serializer;