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

add ordering field to site definition

This commit is contained in:
Pavel 2022-05-24 12:55:10 +03:00 committed by GitHub
commit 5b69fc77cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

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

View File

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