zoukankan      html  css  js  c++  java
  • Servlet使用适配器模式进行增删改查案例(Emp.java)

    package org.entity;
    
    /**
     * 
    *    
    * 项目名称:test_BaseDao   
    * 类名称:Emp   
    * 类描述:   员工实体类
    * 创建人:Mu Xiongxiong  
    * 创建时间:2017-9-13 上午8:45:47   
    * 修改人:Mu Xiongxiong   
    * 修改时间:2017-9-13 上午8:45:47   
    * 修改备注:   
    * @version    
    *
     */
    public class Emp {
    
    	/**
    	* @Fields empno :该字段的意思:编号
    	*/
    	private int empno;
    	/**
    	* @Fields ename :该字段的意思:员工名称
    	*/
    	private String ename;
    	/**
    	* @Fields job :该字段的意思:职位
    	*/
    	private String job;
    	/**
    	* @Fields mgr :该字段的意思:经理编号
    	*/
    	private int mgr;		
    	/**
    	* @Fields hiredate :该字段的意思:入职日期
    	*/
    	private String  hiredate;
    	/**
    	* @Fields sal :该字段的意思:工资
    	*/
    	private Float sal;		
    	/**
    	* @Fields comm :该字段的意思:奖金福利
    	*/
    	private Float comm;
    	/**
    	* @Fields deptno :该字段的意思:部门编号
    	*/
    	private int deptno;
    	
    	/**
    	 * 
    	     * 构造函数 
    	     * @discription 
    	     * @author Mu Xiongxiong     
    	     * @created 2017-9-13 上午8:47:03
    	 */
    	public Emp() {
    		// TODO Auto-generated constructor stub
    	}
    
    	/**
    	 * 
    	     * 构造函数 
    	     * @discription 
    	     * @author Mu Xiongxiong     
    	     * @created 2017-9-13 上午8:47:06      
    	     * @param empno
    	     * @param ename
    	     * @param job
    	     * @param mgr
    	     * @param hiredate
    	     * @param sal
    	     * @param comm
    	     * @param deptno
    	 */
    	public Emp(int empno, String ename, String job, int mgr, String hiredate,
    			Float sal, Float comm, int deptno) {
    		super();
    		this.empno = empno;
    		this.ename = ename;
    		this.job = job;
    		this.mgr = mgr;
    		this.hiredate = hiredate;
    		this.sal = sal;
    		this.comm = comm;
    		this.deptno = deptno;
    	}
    
    	public int getEmpno() {
    		return empno;
    	}
    
    	public void setEmpno(int empno) {
    		this.empno = empno;
    	}
    
    	public String getEname() {
    		return ename;
    	}
    
    	public void setEname(String ename) {
    		this.ename = ename;
    	}
    
    	public String getJob() {
    		return job;
    	}
    
    	public void setJob(String job) {
    		this.job = job;
    	}
    
    	public int getMgr() {
    		return mgr;
    	}
    
    	public void setMgr(int mgr) {
    		this.mgr = mgr;
    	}
    
    	public String getHiredate() {
    		return hiredate;
    	}
    
    	public void setHiredate(String hiredate) {
    		this.hiredate = hiredate;
    	}
    
    	public Float getSal() {
    		return sal;
    	}
    
    	public void setSal(Float sal) {
    		this.sal = sal;
    	}
    
    	public Float getComm() {
    		return comm;
    	}
    
    	public void setComm(Float comm) {
    		this.comm = comm;
    	}
    
    	public int getDeptno() {
    		return deptno;
    	}
    
    	public void setDeptno(int deptno) {
    		this.deptno = deptno;
    	}
    	
    	
    	
    	
    	
    	
    	
    	
    	
    	
    	
    }
    

  • 相关阅读:
    [a0004] <创作> 随笔视图索引
    [a0003] <创作> 全局视图索引
    git提交时忽略指定文件
    解决:gradle 前言中不允许有内容
    【LINQ标准查询操作符总结】之聚合操符
    RxJS 中的创建操作符
    项目管理(1) 什么是项目?
    数据库表数据统计及数据表的数据大小统计SQL
    C# 中一些类关系的判定方法
    Windows Azure NotificationHub+Firebase Cloud Message 实现消息推动(付源码)
  • 原文地址:https://www.cnblogs.com/a1111/p/12816187.html
Copyright © 2011-2022 走看看