<?php
/**
 * Created by PhpStorm.
 * User: sdaoudi
 * Date: 09/11/14
 * Time: 14:42
 */

namespace Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\TraitementRecherche;

use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\XmlAttribute;
use JMS\Serializer\Annotation\XmlRoot;
use JMS\Serializer\Annotation\XmlList;

/** @XmlRoot("resultats") */
class Resultats {
    /**
     * @Type("integer")
     * @XmlAttribute)
     * @SerializedName("nbTotal")
     */
    public $nbTotal;

    /**
     * @XmlList(inline = true, entry = "produit")
     * @Type("array<Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\TraitementRecherche\Produit>")
     */
    public $produits;

    /**
     * @Type("Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\TraitementRecherche\Details")
     * @SerializedName("details")
     */
    public $details;


} 