最全三大框架整合(使用映射)——Dept.java
来源:互联网 发布:独立思考 知乎 编辑:程序博客网 时间:2024/05/23 17:27
package org.entity;import java.util.HashSet;import java.util.Set;/** * Dept entity. @author MyEclipse Persistence Tools */public class Dept implements java.io.Serializable {// Fieldsprivate Integer deptno;private String dname;private String loc;private Set<Emp> emps = new HashSet<Emp>(0);// Constructors/** default constructor */public Dept() {}/** minimal constructor */public Dept(Integer deptno) {this.deptno = deptno;}/** full constructor */public Dept(Integer deptno, String dname, String loc, Set emps) {this.deptno = deptno;this.dname = dname;this.loc = loc;this.emps = emps;}// Property accessorspublic Integer getDeptno() {return this.deptno;}public void setDeptno(Integer deptno) {this.deptno = deptno;}public String getDname() {return this.dname;}public void setDname(String dname) {this.dname = dname;}public String getLoc() {return this.loc;}public void setLoc(String loc) {this.loc = loc;}public Set<Emp> getEmps() {return emps;}public void setEmps(Set<Emp> emps) {this.emps = emps;}}
阅读全文
1 0
- 最全三大框架整合(使用映射)——Dept.java
- 最全三大框架整合(使用映射)——Dept.hbm.xml
- 最全三大框架整合(使用映射)——Emp.java
- 最全三大框架整合(使用映射)——IDeptDao.java
- 最全三大框架整合(使用映射)——DeptDaoImpl.java
- 最全三大框架整合(使用映射)——IDeptService.java
- 最全三大框架整合(使用映射)——DeptServiceImpl.java
- 最全三大框架整合(使用映射)——DeptAction.java
- 最全三大框架整合(使用映射)——index.jsp
- 最全三大框架整合(使用映射)——Emp.hbm.xml
- 最全三大框架整合(使用映射)——applicationContext.xml里面的配置
- 最全三大框架整合(使用映射)——数据库资源文件jdbc.properties
- 最全三大框架整合(使用映射)——struts.xml和web.xml配置
- Hibernate中使用Criteria查询及注解——(Dept.java)
- Hibernate中使用Criteria查询及注解——(Dept.hbm.xml)
- SSH-基础篇-映射文件(Dept,Emp)
- hibernate注解实体类(Dept.java)
- Servlet使用适配器模式进行增删改查案例(Dept.java)
- 微信小程序 自动换行
- HDU4850 Wow! Such String! —— 字符串构造
- Android就业面试技巧系列-技术篇6 (Handler机制)
- 使用渐变色gradient完成颜色
- 【ML笔记】第三章 线性模型
- 最全三大框架整合(使用映射)——Dept.java
- 物体运动框架
- Shader案例篇二《镜子2》
- poj1474(半平面交)
- Android就业面试技巧系列-技术篇7 (ListView优化)
- 2017第八届浪潮杯山东省赛 K题 codeforces 贪心+背包
- Android中Notification使用及常用属性
- python3.4获取网站40x 50x错误并发邮件通知
- C语言趣味程序(13)