38 lines
504 B
PHP
38 lines
504 B
PHP
<?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;
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|