Skip to main content

EmployeeContract

A single contract of an employee

type EmployeeContract {
endDate: Date
id: EmployeeContractID!
jobPosition: ValueEntry
manager: Employee
payrollStructure: ValueEntry
startDate: Date!
status: ContractStatus!
type: ValueEntry!
workSchedule: ValueEntry!
}

Fields​

EmployeeContract.endDate ● Date scalar​

End date of the contract. Optional, the contract can also be indefinite

EmployeeContract.id ● EmployeeContractID! non-null scalar​

Unique identifier

EmployeeContract.jobPosition ● ValueEntry object​

Job position of the employee stated in the contract

EmployeeContract.manager ● Employee object​

Reference to the manager of the employee

EmployeeContract.payrollStructure ● ValueEntry object​

How is the employee's payroll structured

EmployeeContract.startDate ● Date! non-null scalar​

Start date of the contract

EmployeeContract.status ● ContractStatus! non-null enum​

Status of the employee's contract

EmployeeContract.type ● ValueEntry! non-null object​

Type of the contract (comes from Odoo)

EmployeeContract.workSchedule ● ValueEntry! non-null object​

Structure of the employee's weekly working schedule

Member Of​

AddEmployeeContractPayload object ● Employee object ● UpdateEmployeeContractPayload object