📄 9014e4893c27001d13daff931a3fa2f3
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -