Tim-connector: Hibernate mapping for OrderSyncInfo is added
This commit is contained in:
parent
77fcc3fed2
commit
ddce4b2f1d
1 changed files with 16 additions and 0 deletions
|
|
@ -300,4 +300,20 @@
|
|||
<property name="totalIndirectExpenses" access="field" column="total_indirect_expenses"/>
|
||||
</class>
|
||||
|
||||
<class name="OrderSyncInfo" table="order_sync_info">
|
||||
<id name="id" access="property" type="long">
|
||||
<generator class="hilo" >
|
||||
<param name="max_lo">100</param>
|
||||
</generator>
|
||||
</id>
|
||||
<version name="version" access="property" type="long" />
|
||||
<property name="lastSyncDate" column="last_sync_date" access="field" />
|
||||
<property name="label" access="field" />
|
||||
<property name="code" access="field" />
|
||||
|
||||
<many-to-one name="order" class="Order">
|
||||
<column name="order_element_id" not-null="true"/>
|
||||
</many-to-one>
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue