70 lines
1.3 KiB
PHP
70 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Bean\Queue\Wallet;
|
|
|
|
use App\Bean\Queue\QueueBaseBean;
|
|
|
|
class QueueWalletPlatformTransactionBean extends QueueBaseBean
|
|
{
|
|
const QUEUE_NAME = 'queue_wallet_platform_transaction';
|
|
|
|
protected $wallet_id;
|
|
protected $wallet_transaction_id;
|
|
protected $block_transaction_id;
|
|
protected $amount;
|
|
protected $type;
|
|
|
|
public function getWalletId()
|
|
{
|
|
return $this->wallet_id;
|
|
}
|
|
|
|
public function setWalletId($wallet_id): void
|
|
{
|
|
$this->wallet_id = $wallet_id;
|
|
}
|
|
|
|
public function getWalletTransactionId()
|
|
{
|
|
return $this->wallet_transaction_id;
|
|
}
|
|
|
|
public function setWalletTransactionId($wallet_transaction_id): void
|
|
{
|
|
$this->wallet_transaction_id = $wallet_transaction_id;
|
|
}
|
|
|
|
public function getBlockTransactionId()
|
|
{
|
|
return $this->block_transaction_id;
|
|
}
|
|
|
|
public function setBlockTransactionId($block_transaction_id): void
|
|
{
|
|
$this->block_transaction_id = $block_transaction_id;
|
|
}
|
|
|
|
public function getAmount()
|
|
{
|
|
return $this->amount;
|
|
}
|
|
|
|
public function setAmount($amount): void
|
|
{
|
|
$this->amount = $amount;
|
|
}
|
|
|
|
public function getType()
|
|
{
|
|
return $this->type;
|
|
}
|
|
|
|
public function setType($type): void
|
|
{
|
|
$this->type = $type;
|
|
}
|
|
|
|
|
|
}
|
|
|