vgquotes/Src/VideoGameQuotes.Api/Mappings/System.hbm.xml
2011-02-09 00:05:32 +00:00

15 lines
638 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="System" table="system">
<id column="system_id" name="Id" type="int">
<generator class="identity" />
</id>
<property name="Name" column="system_name" not-null="true" length="256"/>
<property name="Abbreviation" column="system_abbreviation" not-null="false" length="12"/>
<property name="Created" column="created" not-null="true" />
<property name="ReleaseDate" column="release_date" not-null="false" />
</class>
</hibernate-mapping>