-
Notifications
You must be signed in to change notification settings - Fork 200
/
ActiveEmployment.php
107 lines (103 loc) · 4.22 KB
/
ActiveEmployment.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
namespace Picqer\Financials\Exact;
/**
* Class ActiveEmployment.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=PayrollActiveEmployments
*
* @property string $ID Primary key
* @property float $AverageDaysPerWeek The average number of contract days that an employee works per week
* @property float $AverageHoursPerWeek The average number of contract hours that an employee works per week
* @property string $Contract Employment contract ID
* @property string $ContractDocument Document ID of the employment contract
* @property string $ContractEndDate End date of employment contract
* @property string $ContractProbationEndDate Employment probation end date
* @property int $ContractProbationPeriod Employment probation period
* @property string $ContractStartDate Start date of employment contract
* @property int $ContractType Type of employment contract. 1 - Definite, 2 - Indefinite, 3 - External
* @property string $ContractTypeDescription Description of employment contract type
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
* @property string $Department Department of employee
* @property string $DepartmentCode Department code of employee
* @property string $DepartmentDescription Description of department
* @property int $Division Division code
* @property string $Employee Employee ID
* @property string $EmployeeFullName Name of employee
* @property int $EmployeeHID Numeric number of Employee
* @property string $EmploymentOrganization Organization of employment
* @property string $EndDate End date of employment
* @property int $HID Numeric ID of the employment
* @property float $HourlyWage Hourly wage
* @property float $InternalRate Internal rate for time & billing or professional service user
* @property string $Jobtitle Job title of employee
* @property string $JobtitleDescription Description of job title
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property string $ModifierFullName Name of modifier
* @property int $ReasonEnd ID of employment ended
* @property string $ReasonEndDescription Reason of end of employment
* @property int $ReasonEndFlex Reason of ended flexible employment
* @property string $ReasonEndFlexDescription Other reason for end of employment
* @property string $Salary Employment salary
* @property string $Schedule Work schedule
* @property float $ScheduleAverageHours Average hours per week in a schedule.
* @property string $ScheduleCode Work schedule code
* @property float $ScheduleDays Number of days of work per week
* @property string $ScheduleDescription Description of work schedule
* @property float $ScheduleHours Number of work hours per week.
* @property string $StartDate Start date of employment
* @property string $StartDateOrganization Start date of the employee in the organization. This field is used to count the years in service.
*/
class ActiveEmployment extends Model
{
use Query\Findable;
protected $fillable = [
'ID',
'AverageDaysPerWeek',
'AverageHoursPerWeek',
'Contract',
'ContractDocument',
'ContractEndDate',
'ContractProbationEndDate',
'ContractProbationPeriod',
'ContractStartDate',
'ContractType',
'ContractTypeDescription',
'Created',
'Creator',
'CreatorFullName',
'Department',
'DepartmentCode',
'DepartmentDescription',
'Division',
'Employee',
'EmployeeFullName',
'EmployeeHID',
'EmploymentOrganization',
'EndDate',
'HID',
'HourlyWage',
'InternalRate',
'Jobtitle',
'JobtitleDescription',
'Modified',
'Modifier',
'ModifierFullName',
'ReasonEnd',
'ReasonEndDescription',
'ReasonEndFlex',
'ReasonEndFlexDescription',
'Salary',
'Schedule',
'ScheduleAverageHours',
'ScheduleCode',
'ScheduleDays',
'ScheduleDescription',
'ScheduleHours',
'StartDate',
'StartDateOrganization',
];
protected $url = 'payroll/ActiveEmployments';
}