add 'adding content' chapter
This commit is contained in:
parent
ab3227b75f
commit
eb20213b94
20 changed files with 884 additions and 251 deletions
|
@ -3,17 +3,15 @@
|
|||
namespace Lubian\NoFramework\Model;
|
||||
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping\Column;
|
||||
use Doctrine\ORM\Mapping\Entity;
|
||||
use Doctrine\ORM\Mapping\GeneratedValue;
|
||||
use Doctrine\ORM\Mapping\Id;
|
||||
|
||||
#[Entity]
|
||||
class MarkdownPage
|
||||
{
|
||||
public function __construct(
|
||||
#[Id, Column, GeneratedValue]
|
||||
public int|null $id = null,
|
||||
#[Id,
|
||||
Column,
|
||||
GeneratedValue]
|
||||
public int |null $id = null,
|
||||
#[Column]
|
||||
public string $title,
|
||||
#[Column(type: Types::TEXT)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue