forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.php
123 lines (119 loc) · 5.34 KB
/
Project.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
namespace Picqer\Financials\Exact;
/**
* Class Project
*
* @package Picqer\Financials\Exact
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ProjectProjects
*
* @property string $ID Primary key
* @property string $Account The account for this project
* @property String $AccountCode Code of Account
* @property string $AccountContact Contact person of Account
* @property String $AccountName Name of Account
* @property Boolean $AllowAdditionalInvoicing Is additional invoice is allowed for project
* @property Boolean $BlockEntry Block time and cost entries
* @property Boolean $BlockRebilling Block rebilling
* @property Double $BudgetedAmount Budgeted amount of sales in the default currency of the company
* @property Double $BudgetedCosts Budgeted amount of costs in the default currency of the company
* @property BudgetedHoursPerHourType $BudgetedHoursPerHourType Collection of budgeted hours
* @property Double $BudgetedRevenue Budgeted amount of revenue in the default currency of the company
* @property Int16 $BudgetType Budget type
* @property String $BudgetTypeDescription Budget type description
* @property string $Classification Used only for PSA to link a project classification to the project
* @property String $ClassificationDescription Description of Classification
* @property String $Code Code
* @property Double $CostsAmountFC Used only for PSA to store the budgetted costs of a project (except for project type Campaign and Non-billable). Positive quantities only
* @property DateTime $Created Creation date
* @property string $Creator User ID of creator
* @property String $CreatorFullName Name of creator
* @property String $CustomerPOnumber Used only for PSA to store the customer's PO number
* @property String $Description Description of the project
* @property Int32 $Division Division code
* @property String $DivisionName Name of Division
* @property DateTime $EndDate End date of the project. In combination with the start date the status is determined
* @property string $FixedPriceItem Item used for fixed price invoicing. To be defined per project. If empty the functionality relies on the setting
* @property String $FixedPriceItemDescription Description of FixedPriceItem
* @property Boolean $InvoiceAsQuoted Is invoice as quoted
* @property InvoiceTerms $InvoiceTerms Collection of invoice terms
* @property string $Manager Responsible person for this project
* @property String $ManagerFullname Name of Manager
* @property Double $MarkupPercentage Purchase markup percentage
* @property DateTime $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property String $ModifierFullName Name of modifier
* @property String $Notes For additional information about projects
* @property string $PrepaidItem Used only for PSA. This item is used for prepaid invoicing. If left empty, the functionality relies on a setting
* @property String $PrepaidItemDescription Description of PrepaidItem
* @property Int16 $PrepaidType Reference to ProjectPrepaidTypes
* @property String $PrepaidTypeDescription Description of PrepaidType
* @property ProjectRestrictionEmployees $ProjectRestrictionEmployees Collection of employee restrictions
* @property ProjectRestrictionItems $ProjectRestrictionItems Collection of item restrictions
* @property ProjectRestrictionRebillings $ProjectRestrictionRebillings Collection of rebilling restrictions
* @property Double $SalesTimeQuantity Budgeted time. Total number of hours estimated for the fixed price project
* @property string $SourceQuotation Source quotation
* @property DateTime $StartDate Start date of a project. In combination with the end date the status is determined
* @property Double $TimeQuantityToAlert
* @property Int32 $Type Reference to ProjectTypes
* @property String $TypeDescription Description of Type
* @property Boolean $UseBillingMilestones Using billing milestones
*/
class Project extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'Account',
'AccountCode',
'AccountContact',
'AccountName',
'AllowAdditionalInvoicing',
'BlockEntry',
'BlockRebilling',
'BudgetedAmount',
'BudgetedCosts',
'BudgetedHoursPerHourType',
'BudgetedRevenue',
'BudgetType',
'BudgetTypeDescription',
'Classification',
'ClassificationDescription',
'Code',
'CostsAmountFC',
'Created',
'Creator',
'CreatorFullName',
'CustomerPOnumber',
'Description',
'Division',
'DivisionName',
'EndDate',
'FixedPriceItem',
'FixedPriceItemDescription',
'InvoiceAsQuoted',
'InvoiceTerms',
'Manager',
'ManagerFullname',
'MarkupPercentage',
'Modified',
'Modifier',
'ModifierFullName',
'Notes',
'PrepaidItem',
'PrepaidItemDescription',
'PrepaidType',
'PrepaidTypeDescription',
'ProjectRestrictionEmployees',
'ProjectRestrictionItems',
'ProjectRestrictionRebillings',
'SalesTimeQuantity',
'SourceQuotation',
'StartDate',
'TimeQuantityToAlert',
'Type',
'TypeDescription',
'UseBillingMilestones'
];
protected $url = 'project/Projects';
}