<?php
namespace App\Model\Entities\GameData;

use App\Model\Entities\BaseNamedRecord;
use App\Model\Interfaces\ICommonRecord;
use DateTime;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity
 * @ORM\Table(name="platform")
 */
class Platform extends BaseNamedRecord implements ICommonRecord
{
    /**
     * @ORM\Column(type="date")
     */
    protected $releasedOn;

    /**
     * @return DateTime
     */
    public function getReleasedOn()
    {
        return $this->releasedOn;
    }

    /**
     * @param DateTime $releasedOn
     */
    public function setReleasedOn(DateTime $releasedOn)
    {
        $this->releasedOn = $releasedOn;
    }
}