1
0
mirror of synced 2024-11-25 06:46:07 +03:00

add ordering field to site definition

This commit is contained in:
Pavel 2022-05-24 11:28:08 +03:00
parent 48ed7e168a
commit 36524fc85b
2 changed files with 12 additions and 0 deletions

View File

@ -116,6 +116,14 @@ class Site
*/ */
public $catalogLoadingAt; public $catalogLoadingAt;
/**
* @var int
*
* @JMS\Type("int")
* @JMS\SerializedName("ordering")
*/
public $ordering;
/** /**
* @var \RetailCrm\Api\Model\Entity\References\LegalEntity * @var \RetailCrm\Api\Model\Entity\References\LegalEntity
* *

View File

@ -6683,6 +6683,7 @@ EOF;
"name": "test", "name": "test",
"url": "https://example.com", "url": "https://example.com",
"code": "test", "code": "test",
"description": "description",
"defaultForCrm": false, "defaultForCrm": false,
"ymlUrl": "https://example.com", "ymlUrl": "https://example.com",
"loadFromYml": true, "loadFromYml": true,
@ -6700,6 +6701,7 @@ EOF;
"senderName": "test", "senderName": "test",
"catalogId": "catalog", "catalogId": "catalog",
"isCatalogMainSite": true, "isCatalogMainSite": true,
"ordering": 989,
"isDemo": false "isDemo": false
}, },
"test-ru": { "test-ru": {
@ -6707,6 +6709,7 @@ EOF;
"isCatalogMainSite": true, "isCatalogMainSite": true,
"isDemo": true, "isDemo": true,
"name": "Test Shop", "name": "Test Shop",
"description": "description",
"url": "https://example.com/2", "url": "https://example.com/2",
"code": "test-ru", "code": "test-ru",
"defaultForCrm": false, "defaultForCrm": false,
@ -6714,6 +6717,7 @@ EOF;
"loadFromYml": false, "loadFromYml": false,
"catalogUpdatedAt": "2021-02-24 12:30:46", "catalogUpdatedAt": "2021-02-24 12:30:46",
"catalogLoadingAt": "2021-04-07 15:14:53", "catalogLoadingAt": "2021-04-07 15:14:53",
"ordering": 990,
"contragent": { "contragent": {
"contragentType": "enterpreneur", "contragentType": "enterpreneur",
"legalName": "ИП Бороздина Татьяна Александровна", "legalName": "ИП Бороздина Татьяна Александровна",