-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #65 from yohancreemers/master
Added Costcenter and Costunit entities
- Loading branch information
Showing
2 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?php namespace Picqer\Financials\Exact; | ||
|
||
/** | ||
* Class Costcenter | ||
* | ||
* @package Picqer\Financials\Exact | ||
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=HRMCostcenters | ||
* | ||
* @property Guid $ID Primary key | ||
* @property Boolean $Active Indicates if the cost center is active: 0 = inactive 1 = active | ||
* @property String $Code Code (user-defined ID) | ||
* @property DateTime $Created Creation date | ||
* @property Guid $Creator User ID of creator | ||
* @property String $CreatorFullName Name of creator | ||
* @property String $Description Description (text) | ||
* @property Int32 $Division Division code | ||
* @property DateTime $Modified Last modified date | ||
* @property Guid $Modifier User ID of modifier | ||
* @property String $ModifierFullName Name of modifier | ||
*/ | ||
class Costcenter extends Model | ||
{ | ||
|
||
use Query\Findable; | ||
use Persistance\Storable; | ||
|
||
protected $fillable = [ | ||
'ID', | ||
'Active', | ||
'Code', | ||
'Created', | ||
'Creator', | ||
'CreatorFullName', | ||
'Description', | ||
'Division', | ||
'Modified', | ||
'Modifier', | ||
'ModifierFullName' | ||
]; | ||
|
||
protected $url = 'hrm/Costcenters'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php namespace Picqer\Financials\Exact; | ||
|
||
/** | ||
* Class Costunit | ||
* | ||
* @package Picqer\Financials\Exact | ||
* @see https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=HRMCostunits | ||
* | ||
* @property Guid $ID Primary key | ||
* @property String $Code Code (user-defined ID) | ||
* @property DateTime $Created Creation date | ||
* @property Guid $Creator User ID of creator | ||
* @property String $CreatorFullName Name of creator | ||
* @property String $Description Description (text) | ||
* @property Int32 $Division Division code | ||
* @property DateTime $Modified Last modified date | ||
* @property Guid $Modifier User ID of modifier | ||
* @property String $ModifierFullName Name of modifier | ||
*/ | ||
class Costunit extends Model | ||
{ | ||
|
||
use Query\Findable; | ||
use Persistance\Storable; | ||
|
||
protected $fillable = [ | ||
'ID', | ||
'Code', | ||
'Created', | ||
'Creator', | ||
'CreatorFullName', | ||
'Description', | ||
'Division', | ||
'Modified', | ||
'Modifier', | ||
'ModifierFullName' | ||
]; | ||
|
||
protected $url = 'hrm/Costunits'; | ||
} |