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

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

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

/** @XmlRoot("newPhoto") */
class NewPhoto
{
    /**
     * @Type("integer")
     * @XmlAttribute
     */
    public $height;

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

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

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

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

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

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

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

} 