16 lines
636 B
XML
16 lines
636 B
XML
|
<?xml version="1.0"?>
|
||
|
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||
|
<!-- Generated 8 avr. 2022 15:30:29 by Hibernate Tools 4.3.1 -->
|
||
|
<hibernate-mapping>
|
||
|
<class name="DAO.DiscountCode" table="DISCOUNT_CODE" schema="APP">
|
||
|
<id name="discountCode" type="char">
|
||
|
<column name="DISCOUNT_CODE" length="1" />
|
||
|
<generator class="assigned"></generator>
|
||
|
</id>
|
||
|
<property name="rate" type="big_decimal">
|
||
|
<column name="RATE" precision="4" />
|
||
|
</property>
|
||
|
</class>
|
||
|
</hibernate-mapping>
|