forked from picqer/exact-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBudget.php
70 lines (66 loc) · 2.4 KB
/
Budget.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
<?php
namespace Picqer\Financials\Exact;
/**
* Class Budget.
*
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=BudgetBudgets
*
* @property string $ID Primary key
* @property float $AmountDC Budget amount (always in the default currency of the company)
* @property string $BudgetScenario Budget scenario
* @property string $BudgetScenarioCode Code of BudgetScenario
* @property string $BudgetScenarioDescription Description of BudgetScenario
* @property string $Costcenter Used for cost center-specific budgets - NULL otherwise
* @property string $CostcenterDescription Description of Costcenter
* @property string $Costunit Used for cost unit-specific budgets - NULL otherwise
* @property string $CostunitDescription Description of Costunit
* @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 $GLAccount G/L account
* @property string $GLAccountCode Code of GLAccount
* @property string $GLAccountDescription Description of GLAccount
* @property int $HID Numerical ID. Never displayed to the user, but it may have its use for performance reasons
* @property string $Item Used for item-specific budgets - NULL otherwise
* @property string $ItemCode Code of item
* @property string $ItemDescription Description of item
* @property string $Modified Last modified date
* @property string $Modifier User ID of modifier
* @property string $ModifierFullName Name of modifier
* @property int $ReportingPeriod Period (combined with financial year)
* @property int $ReportingYear Financial year
*/
class Budget extends Model
{
use Query\Findable;
use Persistance\Storable;
protected $fillable = [
'ID',
'AmountDC',
'BudgetScenario',
'BudgetScenarioCode',
'BudgetScenarioDescription',
'Costcenter',
'CostcenterDescription',
'Costunit',
'CostunitDescription',
'Created',
'Creator',
'CreatorFullName',
'Division',
'GLAccount',
'GLAccountCode',
'GLAccountDescription',
'HID',
'Item',
'ItemCode',
'ItemDescription',
'Modified',
'Modifier',
'ModifierFullName',
'ReportingPeriod',
'ReportingYear',
];
protected $url = 'budget/Budgets';
}