Add group serializer to is_promoted (pourvue)
This commit is contained in:
@@ -125,6 +125,8 @@ class Ad
|
||||
* @var boolean
|
||||
*
|
||||
* @ORM\Column(name="is_promoted", type="boolean", nullable=true, options={"comment":"Peux t'on répondre"})
|
||||
*
|
||||
* @Groups({"ad_detail" , "ad_list"})
|
||||
*/
|
||||
private $isPromoted;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user