change struct
This commit is contained in:
37
app/Bean/Queue/Api/QueueAddPostBean.php
Normal file
37
app/Bean/Queue/Api/QueueAddPostBean.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
namespace App\Bean\Queue\Api;
|
||||
|
||||
use App\Bean\Queue\QueueBaseBean;
|
||||
|
||||
class QueueAddPostBean extends QueueBaseBean
|
||||
{
|
||||
const QUEUE_NAME = 'queue_add_post';
|
||||
|
||||
protected $id;
|
||||
protected $type;
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setId($id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
public function setType($type): void
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user