<?php
namespace Newland\NeosCommon\LinkHandler\Domain\Model;

/**
 * Simple DTO for records.
 */
class Record
{

    /** @var string */
    protected $id;

    /** @var string */
    protected $title;

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

    public function setId(string $id): Record
    {
        $this->id = $id;
        return $this;
    }

    public function getTitle(): string
    {
        return $this->title;
    }

    public function setTitle(string $title): Record
    {
        $this->title = $title;
        return $this;
    }
}
