15 lines
672 B
XML
15 lines
672 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="VideoGameQuotes.Api" namespace="VideoGameQuotes.Api">
|
|
|
|
<class name="GamingSystem" table="system">
|
|
<id column="system_id" name="Id" type="int">
|
|
<generator class="identity" />
|
|
</id>
|
|
|
|
<property name="Name" column="system_name" not-null="true" length="255" unique="true"/>
|
|
<property name="Abbreviation" column="system_abbreviation" not-null="false" length="12" unique="true"/>
|
|
<property name="Created" column="created" not-null="true" />
|
|
<property name="ReleaseDate" column="release_date" not-null="false" />
|
|
</class>
|
|
|
|
</hibernate-mapping> |