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

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

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("ville") */
class Ville
{
    /**
     * @Type("string")
     * @XmlAttribute
     * @SerializedName("codeInsee")
     */
    public $codeInsee;

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

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

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

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