/*
 * Copyright 2019 Red Hat, Inc. and/or its affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.kie.kogito.examples.payroll;

/**
 * This class was automatically generated by the data modeler tool.
 */

public class Employee implements java.io.Serializable {

    static final long serialVersionUID = 1L;

    private java.lang.String firstName;
    private java.lang.String lastName;
    private java.lang.String personalId;
    private java.util.Date birthDate;

    private org.kie.kogito.examples.payroll.Address address;

    public Employee() {
    }

    public java.lang.String getFirstName() {
        return this.firstName;
    }

    public void setFirstName(java.lang.String firstName) {
        this.firstName = firstName;
    }

    public java.lang.String getLastName() {
        return this.lastName;
    }

    public void setLastName(java.lang.String lastName) {
        this.lastName = lastName;
    }

    public java.lang.String getPersonalId() {
        return this.personalId;
    }

    public void setPersonalId(java.lang.String personalId) {
        this.personalId = personalId;
    }

    public java.util.Date getBirthDate() {
        return this.birthDate;
    }

    public void setBirthDate(java.util.Date birthDate) {
        this.birthDate = birthDate;
    }

    public org.kie.kogito.examples.payroll.Address getAddress() {
        return this.address;
    }

    public void setAddress(org.kie.kogito.examples.payroll.Address address) {
        this.address = address;
    }

    public Employee(java.lang.String firstName, java.lang.String lastName,
            java.lang.String personalId, java.util.Date birthDate,
            org.kie.kogito.examples.payroll.Address address) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.personalId = personalId;
        this.birthDate = birthDate;
        this.address = address;
    }
}