1
0
mirror of synced 2025-01-26 10:11: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 <?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 JMS\Serializer\Annotation as Serializer;
use RetailCrm\DeliveryModuleBundle\Model\Traits\ExtraDataTrait;
class RequestCalculate 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\Groups({"request", "calculate"})
* @Serializer\SerializedName("packages") * @Serializer\SerializedName("packages")

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,13 +1,9 @@
<?php <?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 JMS\Serializer\Annotation as Serializer;
use Intaro\CRMDeliveryBundle\Delivery\Generic\Generic;
class ResponseSave class ResponseSave
{ {
/** /**

View File

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

View File

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