Created
March 28, 2017 05:44
-
-
Save SakaDream/e693d6e14dedf42a3935210e18d0d8de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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