File: JoinedInheritanceWritableColumn.php

package info (click to toggle)
doctrine 3.5.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,536 kB
  • sloc: php: 109,324; xml: 1,340; makefile: 35
file content (18 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

declare(strict_types=1);

namespace Doctrine\Tests\ORM\Functional\Ticket\GH9467;

use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\Table;

#[Entity]
#[Table(name: 'joined_inheritance_writable_column')]
class JoinedInheritanceWritableColumn extends JoinedInheritanceRoot
{
    /** @var string */
    #[Column(type: 'string', insertable: true, updatable: true, options: ['default' => 'dbDefault'], generated: 'ALWAYS')]
    public $writableContent;
}