//
// Created by Grishul Eugeny
//
// Copyright © Grishul Eugeny 2008
//

import java.sql.Timestamp;

public class DbEmployee extends DbPerson implements Cloneable {

	public int HumanID = -1;
	public Timestamp PlacementDate;
	public Timestamp FiredDate = null;
	public String Login = "",  Password = "";
	public byte[] Photography = null;
	public EnterpriseRole Role = EnterpriseRole.Chief;
	public Integer TaskID;

	public DbEmployee() {
	}

	public DbEmployee( String surname, String name, String patronymic, String passport, Timestamp birthDate, Timestamp placementDate, Timestamp firedDate, EnterpriseRole role, String login, String password, byte[] photography ) {
		Name = name;
		Surname = surname;
		Patronymic = patronymic;
		Passport = passport;
		BirthDate = birthDate;
		PlacementDate = placementDate;
		FiredDate = firedDate;
		Role = role;
		Login = login;
		Password = password;
		Photography = photography;
	}

	@Override
	public DbEmployee clone() throws CloneNotSupportedException {
		return ( DbEmployee ) super.clone();
	}
}
Соседние файлы в папке src