add chapter about data repositories, and start work on perfomance chapter

This commit is contained in:
lubiana 2022-04-06 01:21:17 +02:00 committed by Andre Lubian
parent eb20213b94
commit 9a1f78947b
165 changed files with 14028 additions and 2028 deletions
app/src/Model

View file

@ -2,19 +2,11 @@
namespace Lubian\NoFramework\Model;
use Doctrine\DBAL\Types\Types;
#[Entity]
class MarkdownPage
{
public function __construct(
#[Id,
Column,
GeneratedValue]
public int |null $id = null,
#[Column]
public string $title,
#[Column(type: Types::TEXT)]
public string $content,
) {
}