package cn.jxb;/**
* Description:
* @author: b_z 2020年8月17日 上午9:05:25
*
*/publicclassEmployee{privateint id;private String name;privatedouble salary;/**
*
*/publicEmployee(){super();}/**
* @param id
* @param name
* @param salary
*/publicEmployee(int id, String name,double salary){super();this.id = id;this.name = name;this.salary = salary;}/**
* @return the id
*/publicintgetId(){return id;}/**
* @param id the id to set
*/publicvoidsetId(int id){this.id = id;}/**
* @return the name
*/public String getName(){return name;}/**
* @param name the name to set
*/publicvoidsetName(String name){this.name = name;}/**
* @return the salary
*/publicdoublegetSalary(){return salary;}/**
* @param salary the salary to set
*/publicvoidsetSalary(double salary){this.salary = salary;}@Overridepublic String toString(){return"Employee [id="+ id +", name="+ name +", salary="+ salary +"]";}}