Skip to content

Commit

Permalink
Update rights() method in entity classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dedanirungu committed Apr 12, 2024
1 parent 7b416d2 commit 3b97d7d
Show file tree
Hide file tree
Showing 33 changed files with 359 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Entities/Announcement.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/Department.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/Dependent.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,15 @@ public function fields(Blueprint $table = null): void
$this->fields->string('relation', 100)->nullable()->html('textarea');
$this->fields->date('dob')->nullable()->html('date');
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/Designation.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/Education.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/Employee.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
10 changes: 10 additions & 0 deletions Entities/EmployeeHistory.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,14 @@ public function structure($structure): array

return $structure;
}

/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/EmployeeNote.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/EmployeePerformance.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/EmployeeRemoteWorkRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/EmployeeResignRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/FinancialYear.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
10 changes: 10 additions & 0 deletions Entities/Holiday.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,14 @@ public function structure($structure): array

return $structure;
}

/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/HolidayIndv.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,15 @@ public function fields(Blueprint $table = null): void
$this->fields->string('title')->nullable()->html('text');
$this->fields->date('date')->nullable()->html('date');
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/Leave.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/LeaveApprovalStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/LeaveEncashmentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/LeaveEntitlement.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/LeavePolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
11 changes: 11 additions & 0 deletions Entities/LeavePolicySegregation.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/LeaveRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
10 changes: 10 additions & 0 deletions Entities/LeaveRequestDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,14 @@ public function structure($structure): array

return $structure;
}

/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/LeaveUnpaid.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,15 @@ public function structure($structure): array
return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}

}
10 changes: 10 additions & 0 deletions Entities/PayrollAdditionalAllowanceDeduction.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,14 @@ public function structure($structure): array

return $structure;
}

/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
11 changes: 11 additions & 0 deletions Entities/PayrollCalendarTypeSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,15 @@ public function structure($structure): array

return $structure;
}


/**
* Define rights for this model.
*
* @return array
*/
public function rights(): array
{

}
}
Loading

0 comments on commit 3b97d7d

Please sign in to comment.