Add responsible external_id field
This commit is contained in:
commit
2640e661cf
@ -49,6 +49,15 @@ class Responsible implements ModelInterface
|
|||||||
*/
|
*/
|
||||||
private $type;
|
private $type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string $externalId
|
||||||
|
*
|
||||||
|
* @Type("string")
|
||||||
|
* @Accessor(getter="getExternalId",setter="setExternalId")
|
||||||
|
* @SkipWhenEmpty()
|
||||||
|
*/
|
||||||
|
private $externalId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string|null
|
* @return string|null
|
||||||
*/
|
*/
|
||||||
@ -96,4 +105,20 @@ class Responsible implements ModelInterface
|
|||||||
{
|
{
|
||||||
$this->type = $type;
|
$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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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}
|
@ -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"}}
|
@ -11,6 +11,7 @@
|
|||||||
"responsible": {
|
"responsible": {
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"id": 12,
|
"id": 12,
|
||||||
|
"external_id": "12",
|
||||||
"assigned_at": "2019-06-11T12:49:34.716716Z"
|
"assigned_at": "2019-06-11T12:49:34.716716Z"
|
||||||
},
|
},
|
||||||
"is_active": true
|
"is_active": true
|
||||||
@ -27,6 +28,7 @@
|
|||||||
"responsible": {
|
"responsible": {
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"id": 12,
|
"id": 12,
|
||||||
|
"external_id": "12",
|
||||||
"assigned_at": "2019-06-11T08:40:14.136916Z"
|
"assigned_at": "2019-06-11T08:40:14.136916Z"
|
||||||
},
|
},
|
||||||
"is_active": true
|
"is_active": true
|
||||||
@ -43,6 +45,7 @@
|
|||||||
"responsible": {
|
"responsible": {
|
||||||
"type": "user",
|
"type": "user",
|
||||||
"id": 12,
|
"id": 12,
|
||||||
|
"external_id": "12",
|
||||||
"assigned_at": "2019-06-11T08:40:14Z"
|
"assigned_at": "2019-06-11T08:40:14Z"
|
||||||
},
|
},
|
||||||
"is_active": true
|
"is_active": true
|
||||||
|
Loading…
Reference in New Issue
Block a user