1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/POCO/ActiveRecord/testsuite/ORM.xml

16 lines
534 B
XML
Raw Normal View History

2021-08-22 17:07:06 +02:00
<project namespace="ORM">
<class name="Employee" table="employees">
<property name="id" type="uuid"/>
<property name="name" type="string"/>
<property name="ssn" type="string"/>
<property name="role" type="int16" references="Role"/>
<property name="manager" type="uuid" references="Employee" cardinality="?"/>
</class>
<class name="Role" table="roles" autoIncrementID="true">
<property name="id" type="int16"/>
<property name="name" type="string"/>
<property name="description" type="string"/>
</class>
</project>