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

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

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

/** @XmlRoot("commune") */
class Commune
{
    /**
     * @Type("string")
     * @XmlAttribute
     * @SerializedName("codeInsee")
     */
    public $codeInsee;

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