001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.model.control.employee.common.transfer;
018
019import com.echothree.model.control.accounting.common.transfer.CurrencyTransfer;
020import com.echothree.model.control.party.common.transfer.DateTimeFormatTransfer;
021import com.echothree.model.control.party.common.transfer.LanguageTransfer;
022import com.echothree.model.control.party.common.transfer.PartyTransfer;
023import com.echothree.model.control.party.common.transfer.PartyTypeTransfer;
024import com.echothree.model.control.party.common.transfer.PersonTransfer;
025import com.echothree.model.control.party.common.transfer.ProfileTransfer;
026import com.echothree.model.control.party.common.transfer.TimeZoneTransfer;
027import com.echothree.model.control.workflow.common.transfer.WorkflowEntityStatusTransfer;
028
029public class EmployeeTransfer
030        extends PartyTransfer {
031    
032    private String employeeName;
033    private EmployeeTypeTransfer employeeType;
034    private WorkflowEntityStatusTransfer employeeStatus;
035    private WorkflowEntityStatusTransfer employeeAvailability;
036
037    /** Creates a new instance of EmployeeTransfer */
038    public EmployeeTransfer(String partyName, PartyTypeTransfer partyType, LanguageTransfer preferredLanguage,
039            CurrencyTransfer preferredCurrency, TimeZoneTransfer preferredTimeZone, DateTimeFormatTransfer preferredDateTimeFormat,
040            PersonTransfer person, ProfileTransfer profileTransfer, String employeeName, EmployeeTypeTransfer employeeType,
041            WorkflowEntityStatusTransfer employeeStatus, WorkflowEntityStatusTransfer employeeAvailability) {
042        super(partyName, partyType, preferredLanguage, preferredCurrency, preferredTimeZone, preferredDateTimeFormat,
043                person, null, profileTransfer);
044
045        this.employeeName = employeeName;
046        this.employeeType = employeeType;
047        this.employeeStatus = employeeStatus;
048        this.employeeAvailability = employeeAvailability;
049    }
050    
051    public String getEmployeeName() {
052        return employeeName;
053    }
054    
055    public void setEmployeeName(String employeeName) {
056        this.employeeName = employeeName;
057    }
058    
059    public EmployeeTypeTransfer getEmployeeType() {
060        return employeeType;
061    }
062    
063    public void setEmployeeType(EmployeeTypeTransfer employeeType) {
064        this.employeeType = employeeType;
065    }
066    
067    public WorkflowEntityStatusTransfer getEmployeeStatus() {
068        return employeeStatus;
069    }
070    
071    public void setEmployeeStatus(WorkflowEntityStatusTransfer employeeStatus) {
072        this.employeeStatus = employeeStatus;
073    }
074    
075    public WorkflowEntityStatusTransfer getEmployeeAvailability() {
076        return employeeAvailability;
077    }
078    
079    public void setEmployeeAvailability(WorkflowEntityStatusTransfer employeeAvailability) {
080        this.employeeAvailability = employeeAvailability;
081    }
082
083}