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

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\XmlList;
use JMS\Serializer\Annotation\SerializedName;

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

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

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

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

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

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

    /**
     * @XmlList(inline = true, entry = "valModaliteAutreMillesime")
     * @Type("array<Ayaline\Bundle\EzSitBundle\DwSerialiser\Entities\GranuleCriteresModalites\ValModaliteAutreMillesime>")
     */
    public $valuesModaliteAutreMillesime;


}