zoukankan      html  css  js  c++  java
  • ssh(Spring+Spring mvc+hibernate)——Dept.java

    package org.entity;
    
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Dept entity. @author MyEclipse Persistence Tools
     */
    
    public class Dept implements java.io.Serializable {
    
        // Fields
    
        private Integer id;
        private String name;
        private String loc;
        private Set emps = new HashSet(0);
    
        // Constructors
    
        /** default constructor */
        public Dept() {
        }
    
        /** minimal constructor */
        public Dept(Integer id) {
            this.id = id;
        }
    
        /** full constructor */
        public Dept(Integer id, String name, String loc, Set emps) {
            this.id = id;
            this.name = name;
            this.loc = loc;
            this.emps = emps;
        }
    
        // Property accessors
    
        public Integer getId() {
            return this.id;
        }
    
        public void setId(Integer id) {
            this.id = id;
        }
    
        public String getName() {
            return this.name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
        public String getLoc() {
            return this.loc;
        }
    
        public void setLoc(String loc) {
            this.loc = loc;
        }
    
        public Set getEmps() {
            return this.emps;
        }
    
        public void setEmps(Set emps) {
            this.emps = emps;
        }
    
    }
  • 相关阅读:
    hrbust1841再就业(状态压缩dp)
    并查集 poj2236
    JavaScript 常用单词整理
    HTML/CSS 常用单词整理
    HTML/CSS 知识点
    JavaScript 知识点
    ArcGIS裁剪影像数据
    小小程序员
    ArcGIS平面阴影制作
    前端相关的seo技术
  • 原文地址:https://www.cnblogs.com/a1111/p/12816110.html
Copyright © 2011-2022 走看看