diff --git a/src/Valsplat/Simplicate/Entities/Employee.php b/src/Valsplat/Simplicate/Entities/Employee.php index 3398751..928e91f 100644 --- a/src/Valsplat/Simplicate/Entities/Employee.php +++ b/src/Valsplat/Simplicate/Entities/Employee.php @@ -13,7 +13,6 @@ class Employee extends Entity // use Actions\Deletable; protected $fillable = [ - 'id', 'person_id', 'name', 'marital_status', diff --git a/src/Valsplat/Simplicate/Entities/Leave.php b/src/Valsplat/Simplicate/Entities/Leave.php new file mode 100644 index 0000000..c60c046 --- /dev/null +++ b/src/Valsplat/Simplicate/Entities/Leave.php @@ -0,0 +1,27 @@ +connection, $attributes); } + public function leave($attributes = []) + { + return new Entities\Leave($this->connection, $attributes); + } + + public function myorganizationprofile($attributes = []) + { + return new Entities\Entities\MyOrganizationProfile($this->connection, $attributes); + } + public function organization($attributes = []) { return new Entities\Organization($this->connection, $attributes);