220da0349728001d1b69a3336d673cb1
来自「客户关系管理系统主要管理新老客户的一些信息并可以发现潜在客户」· 代码 · 共 45 行
TXT
45 行
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class lazy="false" table="chance" name="com.qrsx.qrsxcrm.model.Chance">
<!--id的产生方式是uuid.hex-->
<id name="id" column="id">
<generator class="uuid.hex"/>
</id>
<!-- 映射服务所对应的客户 -->
<many-to-one name="client"
class="com.qrsx.hibernate.model.Client"
column="clientId"
cascade="save-update"
unique="true">
</many-to-one>
<!-- 映射服务实施人 -->
<many-to-one name="employee"
class="com.qrsx.hibernate.model.Employee"
column="employeeId"
cascade="save-update"
unique="true">
</many-to-one>
<!--映射机会主题-->
<property name="motif" column="motif" not-null="false"/>
<!--映射公司优势-->
<property name="self" column="self" not-null="false"/>
<!--映射对手优势-->
<property name="rival" column="rival" not-null="false"/>
<!--映射成功几率-->
<property name="probability" column="probability" not-null="false"/>
<!--映射备注-->
<property name="remark" column="remark" not-null="false"/>
<!--映射预计成交金额-->
<property name="balance" column="balance" not-null="false"/>
</class>
</hibernate-mapping>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?