CreateCollaborationDTO.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Kirki\App\DTO\Collaboration; |
| 4 | |
| 5 | use Kirki\App\Constants\CollaborationStatus; |
| 6 | use Kirki\Framework\DTO; |
| 7 | |
| 8 | defined('ABSPATH') || exit; |
| 9 | |
| 10 | class CreateCollaborationDTO extends DTO { |
| 11 | /** @var string */ |
| 12 | public $session_id = ''; |
| 13 | |
| 14 | /** @var string */ |
| 15 | public $parent = ''; |
| 16 | |
| 17 | /** @var int */ |
| 18 | public $parent_id = 0; |
| 19 | |
| 20 | /** @var array */ |
| 21 | public $data = []; |
| 22 | |
| 23 | /** @var int */ |
| 24 | public $status = CollaborationStatus::ACTIVE; |
| 25 | } |