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

    package org.entity;
    
    import java.sql.Timestamp;
    import java.util.Date;
    
    /**
     * Emp entity. @author MyEclipse Persistence Tools
     */
    
    public class Emp implements java.io.Serializable {
    
        // Fields
    
        private Integer eid;
        private Dept dept;
        private String ename;
        private Integer eage;
        private Date edate;
        private int did;
    
        // Constructors
    
        /** default constructor */
        public Emp() {
        }
    
        /** minimal constructor */
        public Emp(Integer eid) {
            this.eid = eid;
        }
    
        /** full constructor */
        public Emp(Integer eid, Dept dept, String ename, Integer eage,
                Timestamp edate) {
            this.eid = eid;
            this.dept = dept;
            this.ename = ename;
            this.eage = eage;
            this.edate = edate;
        }
    
        // Property accessors
    
        public Integer getEid() {
            return this.eid;
        }
    
        public void setEid(Integer eid) {
            this.eid = eid;
        }
    
        public Dept getDept() {
            return this.dept;
        }
    
        public void setDept(Dept dept) {
            this.dept = dept;
        }
    
        public String getEname() {
            return this.ename;
        }
    
        public void setEname(String ename) {
            this.ename = ename;
        }
    
        public Integer getEage() {
            return this.eage;
        }
    
        public void setEage(Integer eage) {
            this.eage = eage;
        }
    
        public int getDid() {
            return did;
        }
    
        public void setDid(int did) {
            this.did = did;
        }
    
        public Date getEdate() {
            return edate;
        }
    
        public void setEdate(Date edate) {
            this.edate = edate;
        }
    
    
    
    }
  • 相关阅读:
    c++ 异常处理 assert | try
    c++ 容器类
    protobuf 向前兼容向后兼容
    命名空间和模块化编程,头文件
    对象3:继承
    动态内存 this指针
    对象2 构造,析构
    对象 1 作用域解析符 ::
    hibernate-criteria查询
    oracle报错:ORA-28000: the account is locked
  • 原文地址:https://www.cnblogs.com/a1111/p/12816112.html
Copyright © 2011-2022 走看看