//FullTimeEmployeeImpl.java

package com.corej2eepatterns.business.impl;

import com.corej2eepatterns.business.hr.FullTimeEmployee;

import java.math.BigDecimal;

/**
 * @author  Craig Russell
 */
public class FullTimeEmployeeImpl
    extends EmployeeImpl implements FullTimeEmployee {
  private BigDecimal salary;

  /** utworzenie nowej instancji FullTimeEmployeeImpl */
  public FullTimeEmployeeImpl(
      long id, String firstName, String lastName) {
    super(id, firstName, lastName);
  }

  public BigDecimal getSalary() {
    return salary;
  }

  public void setSalary(BigDecimal salary) {
    this.salary = salary;
  }
}