struts+hibernate做的一个程序

源代码在线查看: dep.java

软件大小: 8969 K
上传用户: lz0324
关键词: hibernate struts 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				package com.po;
				
				import java.util.HashSet;
				import java.util.Set;
				
				/**
				 * Dep generated by MyEclipse Persistence Tools
				 */
				
				public class Dep implements java.io.Serializable {
				
					// Fields
				
					private Integer depid;
				
					private String depname;
				
					private Set emps = new HashSet(0);
				
					// Constructors
				
					/** default constructor */
					public Dep() {
					}
				
					/** full constructor */
					public Dep(String depname, Set emps) {
						this.depname = depname;
						this.emps = emps;
					}
				
					// Property accessors
				
					public Integer getDepid() {
						return this.depid;
					}
				
					public void setDepid(Integer depid) {
						this.depid = depid;
					}
				
					public String getDepname() {
						return this.depname;
					}
				
					public void setDepname(String depname) {
						this.depname = depname;
					}
				
					public Set getEmps() {
						return this.emps;
					}
				
					public void setEmps(Set emps) {
						this.emps = emps;
					}
				
				}			

相关资源