9014e4893c27001d13daff931a3fa2f3
来自「客户关系管理系统主要管理新老客户的一些信息并可以发现潜在客户」· 代码 · 共 39 行
TXT
39 行
<?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="User" name="com.qrsx.qrsxcrm.model.User">
private Set dailys=new HashSet();//关联个人计划
private Set companyTasks=new HashSet();//关联公司任务
private Set announcements=new HashSet();//关联公司公告
<!--id的产生方式是uuid.hex-->
<id name="id" column="id">
<generator class="uuid.hex"/>
</id>
<set name="dailys" inverse="true" outer-join="false" lazy="false">
<key column="userId" />
<one-to-many class="com.qrsx.hibernate.model.Daily" />
</set>
<set name="companyTasks" inverse="true" outer-join="false" lazy="false">
<key column="userId" />
<one-to-many class="com.qrsx.hibernate.model.CompanyTask" />
</set>
<set name="announcements" inverse="true" outer-join="false" lazy="false">
<key column="userId" />
<one-to-many class="com.qrsx.hibernate.model.Announcement" />
</set>
<!--映射职务名称-->
<property name="dutyName" column="dutyName" not-null="false"/>
<!--映射职务编号-->
<property name="dutyId" column="dutyId" not-null="false"/>
<!--映射职务描述-->
<property name="description" column="description" not-null="false"/>
</class>
</hibernate-mapping>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?