DONE: layout letter with letterhead and footer, notification for newly...
This commit is contained in:
@@ -43,6 +43,27 @@ interface UserRepositoryInterface
|
||||
*/
|
||||
public function delete(string $id): bool;
|
||||
|
||||
/**
|
||||
* Get soft-deleted Users with their relationships and pagination
|
||||
*/
|
||||
public function getDeletedWithRelationsPaginated(
|
||||
int $perPage = 10,
|
||||
string $search = '',
|
||||
string $status = '',
|
||||
string $sortBy = 'deleted_at',
|
||||
string $sortOrder = 'desc'
|
||||
);
|
||||
|
||||
/**
|
||||
* Find soft-deleted User by ID
|
||||
*/
|
||||
public function findTrashedById(string $id): ?User;
|
||||
|
||||
/**
|
||||
* Restore a soft-deleted User
|
||||
*/
|
||||
public function restore(string $id): bool;
|
||||
|
||||
/**
|
||||
* Get all Users
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user