1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
<hibernate-mapping>
<class name="entity.produit.Taxe" table="Taxe" schema="dbo" catalog="STATION">
<id name="idTaxe" type="int">
<column name="idTaxe" />
<generator class="assigned" />
</id>
<property name="nomTaxe" type="string">
<column name="nomTaxe" length="254" not-null="true" unique="true" />
</property>
<property name="taxeEtatique" type="java.lang.Boolean">
<column name="taxeEtatique" />
</property>
<property name="valTaxeActuel" type="double">
<column name="valTaxeActuel" precision="53" scale="0" not-null="true" />
</property>
<set name="detailsTaxes" inverse="true">
<key>
<column name="idTaxe" not-null="true" />
</key>
<one-to-many class="entity.produit.DetailsTaxe" />
</set>
<set name="valeurTaxes" inverse="true">
<key>
<column name="idTaxe" not-null="true" />
</key>
<one-to-many class="entity.produit.ValeurTaxe" />
</set>
</class>
</hibernate-mapping>
<class name="entity.produit.ValeurTaxe" table="ValeurTaxe" schema="dbo" catalog="STATION">
<id name="idValTaxe" type="int">
<column name="idValTaxe" />
<generator class="assigned" />
</id>
<many-to-one name="taxe" class="entity.produit.Taxe" fetch="select">
<column name="idTaxe" not-null="true" />
</many-to-one>
<property name="dateDebValTaxe" type="date">
<column name="dateDebValTaxe" length="10" />
</property>
<property name="valTaxe" type="java.lang.Double">
<column name="valTaxe" precision="53" scale="0" />
</property>
<property name="dateFinValTaxe" type="date">
<column name="dateFinValTaxe" length="10" />
</property>
</class>
</hibernate-mapping> |
Partager