Skip to content

Commit

Permalink
Merge pull request #13 from homeappcorporate/task/PHP-1180
Browse files Browse the repository at this point in the history
[PHP-1180]: Add some fields
  • Loading branch information
konspolyakov committed Feb 10, 2021
2 parents e7d136e + c8ab2d6 commit 69e491b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions HomeappData/Registry/Dto/Realty/Attributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ class Attributes implements AttributesInterface
*/
public ?bool $hasMortgage = null;

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

/**
* @Serializer\Type("string")
* @Serializer\Groups({"API"})
Expand Down Expand Up @@ -354,6 +360,42 @@ class Attributes implements AttributesInterface
*/
public ?string $landUsageType = null;

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

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

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

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

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

/**
* @Serializer\Type("boolean")
* @Serializer\Groups({"API"})
*/
public ?bool $burden = null;

public function __construct(
string $realtyType,
float $area,
Expand Down

0 comments on commit 69e491b

Please sign in to comment.