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;
        }
    
    }
  • 相关阅读:
    Day 38
    Day 37
    Day 36
    Day 35
    Day 34
    Day 33
    Day 32
    Day 31
    Day 30
    华为CE6180高级ACL配置
  • 原文地址:https://www.cnblogs.com/a1111/p/12816110.html
Copyright © 2011-2022 走看看