Skip to content

Commit

Permalink
Bijwerken verplichte order velden
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 13, 2020
1 parent 667916f commit 6ff55fc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions api/src/Entity/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ class Order
* @var string The price of this product
* @example 50.00
*
* @Groups({"read","write"})
* @Assert\NotNull
* @Groups({"read"})
* @ORM\Column(type="decimal", precision=8, scale=2)
*/
private $price;
Expand All @@ -128,15 +127,15 @@ class Order
* @example EUR
*
* @Assert\Currency
* @Groups({"read","write"})
* @Groups({"read"})
* @ORM\Column(type="string")
*/
private $priceCurrency;
/**
* @var string The total tax over the order
* @example 21.00
*
* @Groups({"read","write"})
* @Groups({"read"})
* @ORM\Column(type="string", length=255)
*/
private $tax;
Expand Down

0 comments on commit 6ff55fc

Please sign in to comment.