117 lines
2.4 KiB
Java
117 lines
2.4 KiB
Java
/*
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
|
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
|
|
*/
|
|
package bl;
|
|
|
|
/**
|
|
*
|
|
* @author caleb
|
|
*/
|
|
public class Employee {
|
|
|
|
private String employeeFirst;
|
|
private String employeeLast;
|
|
private String employeeTitle;
|
|
private String photo;
|
|
|
|
|
|
public Employee(String employeeFirst, String employeeLast, String employeeTitle, String photo)
|
|
{
|
|
this.employeeFirst = employeeFirst;
|
|
this.employeeLast = employeeLast;
|
|
this.employeeTitle = employeeTitle;
|
|
this.photo = photo;
|
|
}
|
|
|
|
|
|
/**
|
|
* Get the value of photo
|
|
*
|
|
* @return the value of photo
|
|
*/
|
|
public String getPhoto()
|
|
{
|
|
return photo;
|
|
}
|
|
|
|
/**
|
|
* Set the value of photo
|
|
*
|
|
* @param photo new value of photo
|
|
*/
|
|
public void setPhoto(String photo)
|
|
{
|
|
this.photo = photo;
|
|
}
|
|
|
|
|
|
/**
|
|
* Get the value of employeeTitle
|
|
*
|
|
* @return the value of employeeTitle
|
|
*/
|
|
public String getEmployeeTitle()
|
|
{
|
|
return employeeTitle;
|
|
}
|
|
|
|
/**
|
|
* Set the value of employeeTitle
|
|
*
|
|
* @param employeeTitle new value of employeeTitle
|
|
*/
|
|
public void setEmployeeTitle(String employeeTitle)
|
|
{
|
|
this.employeeTitle = employeeTitle;
|
|
}
|
|
|
|
|
|
/**
|
|
* Get the value of employeeLast
|
|
*
|
|
* @return the value of employeeLast
|
|
*/
|
|
public String getEmployeeLast()
|
|
{
|
|
return employeeLast;
|
|
}
|
|
|
|
/**
|
|
* Set the value of employeeLast
|
|
*
|
|
* @param employeeLast new value of employeeLast
|
|
*/
|
|
public void setEmployeeLast(String employeeLast)
|
|
{
|
|
this.employeeLast = employeeLast;
|
|
}
|
|
|
|
|
|
/**
|
|
* Get the value of employeeFirst
|
|
*
|
|
* @return the value of employeeFirst
|
|
*/
|
|
public String getEmployeeFirst()
|
|
{
|
|
return employeeFirst;
|
|
}
|
|
|
|
/**
|
|
* Set the value of employeeFirst
|
|
*
|
|
* @param employeeFirst new value of employeeFirst
|
|
*/
|
|
public void setEmployeeFirst(String employeeFirst)
|
|
{
|
|
this.employeeFirst = employeeFirst;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Employee{" + "employeeFirst=" + employeeFirst + ", employeeLast=" + employeeLast + ", employeeTitle=" + employeeTitle + ", photo=" + photo + '}';
|
|
}
|
|
|
|
}
|