implement CreateComment use case
This commit is contained in:
parent
2557c9b6a9
commit
e8d2ff3fdf
2 changed files with 61 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace App\Comment\UseCases\CreateComment;
|
||||
|
||||
class CreateCommentRequest
|
||||
{
|
||||
public function __construct(
|
||||
public int $postId,
|
||||
public int $userId,
|
||||
public ?string $body,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue