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

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

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

/** @XmlRoot("critere") */
class Critere
{
    /**
     * @Type("string")
     * @XmlAttribute
     */
    public $id;

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

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

    /**
     * @Type("Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\GranuleCriteresModalites\Modalites")
     * @SerializedName("modalites")
     */
    public $modalites;

    /**
     * @Type("string")
     * @SerializedName("intCritere")
     */
    public $intCritere;


}