File: Doctrine.Tests.ORM.Mapping.BlogPostComment.dcm.xml

package info (click to toggle)
doctrine 3.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 11,552 kB
  • sloc: php: 108,302; xml: 1,340; makefile: 35; sh: 14
file content (22 lines) | stat: -rw-r--r-- 796 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>

<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
                          https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd">

    <entity name="Doctrine\Tests\ORM\Mapping\BlogPostComment">

        <id name="id" type="integer">
            <generator strategy="NONE"/>
        </id>

        <many-to-one field="blogPost" target-entity="Doctrine\Tests\ORM\Mapping\BlogPost">
            <join-columns>
                <join-column nullable="false"/>
            </join-columns>
        </many-to-one>

    </entity>

</doctrine-mapping>