forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEmploymentContract.php
76 lines (72 loc) · 2.85 KB
/
EmploymentContract.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
<?php
namespace Picqer\Financials\Exact;
/**
* Class EmploymentContract.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=PayrollEmploymentContracts
*
* @property string $ID Primary key
* @property int $ContractFlexPhase Flexible employment contract phase
* @property string $ContractFlexPhaseDescription Flexible employment contract phase description.
* @property string $Created Creation date
* @property string $Creator User ID of creator
* @property string $CreatorFullName Name of creator
* @property int $Division Division code
* @property string $Document Document ID of the employment contract
* @property string $Employee ID of employee
* @property string $EmployeeFullName Name of employee
* @property int $EmployeeHID Numeric ID of the employee
* @property int $EmployeeType Type of employee. 1 - Employee, 2 - Contractor, 3 - Temporary, 4 - Student, 5 - Flexworker
* @property string $EmployeeTypeDescription Employee type description
* @property string $Employment Employment ID
* @property int $EmploymentHID Numeric ID of the employment
* @property string $EndDate End date of employment contract
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property string $ModifierFullName Name of modifier
* @property string $Notes Notes of employment contract
* @property string $ProbationEndDate Employment probation end date
* @property int $ProbationPeriod Employment probation period
* @property int $ReasonContract Employment contract reason code. 1 - New employment, 2 - Employment change, 3 - New legal employer, 4 - Acquisition 5 - Previous contract expired, 6 - Other
* @property string $ReasonContractDescription Employment contract reason description
* @property int $Sequence Sequence number
* @property string $StartDate Start date of employment contract
* @property int $Type Type of employment contract. 1 - Definite, 2 - Indefinite, 3 - External
* @property string $TypeDescription Description of employment contract type
*/
class EmploymentContract extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'ContractFlexPhase',
'ContractFlexPhaseDescription',
'Created',
'Creator',
'CreatorFullName',
'Division',
'Document',
'Employee',
'EmployeeFullName',
'EmployeeHID',
'EmployeeType',
'EmployeeTypeDescription',
'Employment',
'EmploymentHID',
'EndDate',
'Modified',
'Modifier',
'ModifierFullName',
'Notes',
'ProbationEndDate',
'ProbationPeriod',
'ReasonContract',
'ReasonContractDescription',
'Sequence',
'StartDate',
'Type',
'TypeDescription',
];
protected $url = 'payroll/EmploymentContracts';
}