1
0
mirror of synced 2024-11-22 03:46:02 +03:00

Add responsible external_id field

This commit is contained in:
Pavel 2024-08-14 17:10:14 +03:00 committed by GitHub
commit 2640e661cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 30 additions and 2 deletions

View File

@ -49,6 +49,15 @@ class Responsible implements ModelInterface
*/
private $type;
/**
* @var string $externalId
*
* @Type("string")
* @Accessor(getter="getExternalId",setter="setExternalId")
* @SkipWhenEmpty()
*/
private $externalId;
/**
* @return string|null
*/
@ -96,4 +105,20 @@ class Responsible implements ModelInterface
{
$this->type = $type;
}
/**
* @return string|null
*/
public function getExternalId(): ?string
{
return $this->externalId;
}
/**
* @param string $externalId
*/
public function setExternalId(string $externalId): void
{
$this->externalId = $externalId;
}
}

View File

@ -1 +1 @@
{"responsible":{"type":"user","id":4,"assigned_at":"2019-06-21T08:01:09Z"},"is_reassign":true,"previous_responsible":{"type":"user","id":12,"assigned_at":"2019-06-11T12:49:34Z"},"left_user_id":12}
{"responsible":{"type":"user","id":4,"external_id": "4","assigned_at":"2019-06-21T08:01:09Z"},"is_reassign":true,"previous_responsible":{"type":"user","id":12,"external_id": "12","assigned_at":"2019-06-11T12:49:34Z"},"left_user_id":12}

View File

@ -1 +1 @@
{"previous_responsible":{"type":"user","id":12,"assigned_at":"2019-06-11T12:49:34Z"}}
{"previous_responsible":{"type":"user","id":12,"external_id": "12","assigned_at":"2019-06-11T12:49:34Z"}}

View File

@ -11,6 +11,7 @@
"responsible": {
"type": "user",
"id": 12,
"external_id": "12",
"assigned_at": "2019-06-11T12:49:34.716716Z"
},
"is_active": true
@ -27,6 +28,7 @@
"responsible": {
"type": "user",
"id": 12,
"external_id": "12",
"assigned_at": "2019-06-11T08:40:14.136916Z"
},
"is_active": true
@ -43,6 +45,7 @@
"responsible": {
"type": "user",
"id": 12,
"external_id": "12",
"assigned_at": "2019-06-11T08:40:14Z"
},
"is_active": true