TemplateManageDetail.hbm.xml 1.19 KB
Newer Older
PWF-WK01\pengwufeng committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?xml version="1.0" encoding="UTF-8"?>
	<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
		http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
	<class entity-name="com.beecode.inz.basis.datamodel.TemplateManageDetail" table="inz_basis_template_manage_detail" optimistic-lock="version">
		<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
		<id name="id" type="uuid-binary" column="id" length="16">
			<generator class="assigned" />
		</id>
		<property name="projectId" type="uuid-binary" not-null="false">
			<column name="project_id" length="16"></column>
		</property>
		<property name="projectTitle" type="nstring" not-null="false">
			<column name="project_title" length="100"></column>
		</property>
		<property name="groupId" type="uuid-binary" not-null="false">
			<column name="group_id" length="16"></column>
		</property>
		<property name="templateId" type="uuid-binary" not-null="false">
			<column name="template_id" length="16"></column>
		</property>
	</class>
</hibernate-mapping>