Changed data type for start date and duration

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2017-05-03 14:51:21 +02:00
parent 3ec12fcfa8
commit 77954a4616
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
</joined-subclass>
<joined-subclass name="de.dis2013.data.Mietvertrag" table="tenancycontract" schema="VSISP12">
<key column="contractnumber"/>
<property name="mietbeginn" type="date" column="startdate" />
<property name="dauer" type="date" column="duration" />
<property name="mietbeginn" type="timestamp" column="startdate" />
<property name="dauer" type="timestamp" column="duration" />
<property name="nebenkosten" type="integer" column="additionalcosts" />
<many-to-one name="wohnung" class="de.dis2013.data.Wohnung" column="apartment" not-null="true" />
</joined-subclass>