<?php
/**
 * Created by PhpStorm.
 * User: sdaoudi
 * Date: 08/11/14
 * Time: 18:25
 */

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

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

/** @XmlRoot("criteres") */
class Criteres
{
    /**
     * @Type("Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\GranuleCriteresCommuns\CriteresCommuns")
     * @SerializedName("criteresCommuns")
     */
    public $criteresCommuns;

    /**
     * @XmlList(inline = true, entry = "categorie")
     * @Type("array<Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\GranuleCriteresCategorie\Categorie>")
     */
    public $categories;

    /**
     * @Type("Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\GranuleCriteresSpecs\CriteresSpecs")
     * @SerializedName("criteresSpecs")
     */
    public $criteresSpecs;

}