-
Notifications
You must be signed in to change notification settings - Fork 82
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 #228 from roydejong/master
Add Project entity, add sub-entities to TimeEntry
- Loading branch information
Showing
4 changed files
with
59 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,31 @@ | ||
<?php | ||
|
||
namespace Picqer\Financials\Moneybird\Entities; | ||
|
||
use Picqer\Financials\Moneybird\Actions\FindAll; | ||
use Picqer\Financials\Moneybird\Actions\FindOne; | ||
use Picqer\Financials\Moneybird\Actions\Removable; | ||
use Picqer\Financials\Moneybird\Actions\Storable; | ||
use Picqer\Financials\Moneybird\Model; | ||
|
||
/** | ||
* Class Project. | ||
*/ | ||
class Project extends Model | ||
{ | ||
use FindAll, FindOne, Storable, Removable; | ||
|
||
/** | ||
* @var array | ||
*/ | ||
protected $fillable = [ | ||
'id', | ||
'name', | ||
'state', | ||
]; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $endpoint = 'projects'; | ||
} |
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
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
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