Changed duration column to integer

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-05-03 15:11:06 +02:00
parent 7913a24937
commit d32ba07963

View File

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