Skip to content

Commit

Permalink
[PHP-1865] New fields in ExternalLink (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
konspolyakov committed Jun 23, 2022
1 parent 359ad31 commit 486cd20
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions HomeappData/Registry/Dto/ExternalLink/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,24 @@ class Attributes implements AttributesInterface
*/
public string $source;

/**
* @Serializer\Type("string")
* @Serializer\Groups({"API"})
*/
public ?string $contractorType = null;

/**
* @Serializer\Type("string")
* @Serializer\Groups({"API"})
*/
public ?string $contractorPhone = null;

/**
* @Serializer\Type("string")
* @Serializer\Groups({"API"})
*/
public ?string $contractorName = null;

public function __construct(string $url, string $source)
{
$this->url = $url;
Expand Down

0 comments on commit 486cd20

Please sign in to comment.