Skip to content

Instantly share code, notes, and snippets.

@SakaDream
Created March 28, 2017 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SakaDream/e693d6e14dedf42a3935210e18d0d8de to your computer and use it in GitHub Desktop.
Save SakaDream/e693d6e14dedf42a3935210e18d0d8de to your computer and use it in GitHub Desktop.
package com.sakadream.test.bean;
public class Employee {
private int id;
private String fullName;
private String address;
private String email;
private String phone;
private int salary;
public Employee(int id, String fullName, String address, String email, String phone, int salary) {
this.id = id;
this.fullName = fullName;
this.address = address;
this.email = email;
this.phone = phone;
this.salary = salary;
}
public Employee(String fullName, String address, String email, String phone, int salary) {
this.fullName = fullName;
this.address = address;
this.email = email;
this.phone = phone;
this.salary = salary;
}
public int getId() {
return this.id;
}
public String getFullName() {
return this.fullName;
}
public String getAddress() {
return this.address;
}
public String getEmail() {
return this.email;
}
public String getPhone() {
return this.phone;
}
public int getSalary() {
return this.salary;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public void setAddress(String address) {
this.address = address;
}
public void setEmail(String email) {
this.email = email;
}
public void setPhone(String phone) {
this.phone = phone;
}
public void setSalary(int salary) {
this.salary = salary;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment