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

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

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

/** @XmlRoot("produit") */
class Produit {
    /**
     * @Type("integer")
     * @XmlAttribute
     */
    public $dispo;

    /**
     * @Type("integer")
     * @XmlAttribute
     */
    public $id;

    /**
     * @Type("integer")
     * @XmlAttribute
     */
    public $idc;

    /**
     * @Type("integer")
     * @XmlAttribute
     * @SerializedName("nbConsultations")
     */
    public $nbConsultations;

    /**
     * @Type("integer")
     * @XmlAttribute
     */
    public $pic;

    /**
     * @Type("string")
     * @XmlValue
     */
    public $value;

} 