map.php 1.58 KB
<?php

// src/map.php
/**
 * @Entity @Table(name="map")
 **/
Class map
{
    /** @Id @Column(type="integer") @GeneratedValue **/
    protected $id;

    /** @Column(type="string") **/
    protected $description;

    /** @Column(type="integer") **/
    protected $px_width;

    /** @Column(type="integer") **/
    protected $px_height;

    /** @Column(type="float") **/
    protected $n_width;

    /** @Column(type="float") **/
    protected $n_height;

    /** @Column(type="binary") **/
    protected $content;

    public function getId()
    {
        return $this->id;
    }

    public function getDescription()
    {
        return $this->description;
    }

    public function getContent()
    {
        return $this->content;
    }

    public function getPx_width()
    {
        return $this->px_width;
    }

    public function setPx_width($px_width)
    {
        $this->px_width = $px_width;
    }

    public function setDescription($desc)
    {
        $this->description = $desc;
    }

    public function getPx_height()
    {
        return $this->px_height;
    }

    public function setPx_height($px_height)
    {
        $this->px_height = $px_height;
    }

    public function getN_height()
    {
        return $this->n_height;
    }

    public function setN_height($n_height)
    {
        $this->n_height = $n_height;
    }

    public function getN_width()
    {
        return $this->n_width;
    }

    public function setN_width($n_width)
    {
        $this->n_width = $n_width;
    }

    public function setContent($content)
    {
        $this->content = $content;
    }
}