用户账变 用户钱包

This commit is contained in:
cano
2024-03-10 00:44:58 +08:00
parent 025dab4c2c
commit 6d242ae973
17 changed files with 1617 additions and 16 deletions

View File

@ -0,0 +1,212 @@
<?php
namespace App\Bean\Model\Api\Wallet;
use App\Bean\Model\Base\BaseBean;
use App\Models\Api\Wallet\CustomerWalletCurrencyModel;
use App\Models\Api\Wallet\CustomerWalletBalanceTransactionModel;
class CustomerWalletBalanceTransactionBean extends BaseBean
{
protected $id;
protected $type;
protected $status = CustomerWalletBalanceTransactionModel::STATUS_WAIT;
protected $wallet_id;
protected $uid;
protected $currency_code = CustomerWalletCurrencyModel::CODE_USDT_TRC20;
protected $amount = 0;
protected $before_total_amount;
protected $after_total_amount;
protected $source_params;
protected $remark;
protected $target_uid;
protected $target_post_order_id;
protected $sign;
protected $callback_time;
protected $delay_payment_time;
protected $created_at;
protected $updated_at;
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;
}
public function getStatus(): int
{
return $this->status;
}
public function setStatus(int $status): void
{
$this->status = $status;
}
public function getWalletId()
{
return $this->wallet_id;
}
public function setWalletId($wallet_id): void
{
$this->wallet_id = $wallet_id;
}
public function getUid()
{
return $this->uid;
}
public function setUid($uid): void
{
$this->uid = $uid;
}
public function getCurrencyCode(): string
{
return $this->currency_code;
}
public function setCurrencyCode(string $currency_code): void
{
$this->currency_code = $currency_code;
}
public function getAmount(): int
{
return $this->amount;
}
public function setAmount(int $amount): void
{
$this->amount = $amount;
}
public function getBeforeTotalAmount()
{
return $this->before_total_amount;
}
public function setBeforeTotalAmount($before_total_amount): void
{
$this->before_total_amount = $before_total_amount;
}
public function getAfterTotalAmount()
{
return $this->after_total_amount;
}
public function setAfterTotalAmount($after_total_amount): void
{
$this->after_total_amount = $after_total_amount;
}
public function getSourceParams()
{
return $this->source_params;
}
public function setSourceParams($source_params): void
{
$this->source_params = $source_params;
}
public function getRemark()
{
return $this->remark;
}
public function setRemark($remark): void
{
$this->remark = $remark;
}
public function getTargetUid()
{
return $this->target_uid;
}
public function setTargetUid($target_uid): void
{
$this->target_uid = $target_uid;
}
public function getTargetPostOrderId()
{
return $this->target_post_order_id;
}
public function setTargetPostOrderId($target_post_order_id): void
{
$this->target_post_order_id = $target_post_order_id;
}
public function getSign()
{
return $this->sign;
}
public function setSign($sign): void
{
$this->sign = $sign;
}
public function getCallbackTime()
{
return $this->callback_time;
}
public function setCallbackTime($callback_time): void
{
$this->callback_time = $callback_time;
}
public function getDelayPaymentTime()
{
return $this->delay_payment_time;
}
public function setDelayPaymentTime($delay_payment_time): void
{
$this->delay_payment_time = $delay_payment_time;
}
public function getCreatedAt()
{
return $this->created_at;
}
public function setCreatedAt($created_at): void
{
$this->created_at = $created_at;
}
public function getUpdatedAt()
{
return $this->updated_at;
}
public function setUpdatedAt($updated_at): void
{
$this->updated_at = $updated_at;
}
}