implement DeletePost use case
This commit is contained in:
parent
fd91da6bab
commit
e9ac16377f
2 changed files with 54 additions and 0 deletions
12
backend/app/Post/UseCases/DeletePost/DeletePostRequest.php
Normal file
12
backend/app/Post/UseCases/DeletePost/DeletePostRequest.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\Post\UseCases\DeletePost;
|
||||
|
||||
class DeletePostRequest
|
||||
{
|
||||
public function __construct(
|
||||
public int $postId,
|
||||
public int $requesterId,
|
||||
public bool $requesterIsAdmin,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue