用户账变 用户钱包
This commit is contained in:
201
app/Bean/Model/Api/Order/CustomerUserPostOrderBean.php
Normal file
201
app/Bean/Model/Api/Order/CustomerUserPostOrderBean.php
Normal file
@ -0,0 +1,201 @@
|
||||
<?php
|
||||
namespace App\Bean\Model\Api\Order;
|
||||
|
||||
use App\Bean\Model\Base\BaseBean;
|
||||
use App\Models\Api\Wallet\CustomerWalletCurrencyModel;
|
||||
|
||||
class CustomerUserPostOrderBean extends BaseBean
|
||||
{
|
||||
protected $id;
|
||||
protected $sn;
|
||||
protected $pay_status;
|
||||
protected $buyer_uid;
|
||||
protected $buyer_currency_code = CustomerWalletCurrencyModel::CODE_USDT_TRC20;
|
||||
protected $seller_uid;
|
||||
protected $seller_currency_code = CustomerWalletCurrencyModel::CODE_USDT_TRC20;
|
||||
protected $pid;
|
||||
protected $post_history_id;
|
||||
protected $amount;
|
||||
protected $buyer_wallet_transaction_id;
|
||||
protected $seller_wallet_transaction_id;
|
||||
protected $wallet_checkbook_id;
|
||||
protected $dispute_status;
|
||||
protected $dispute_result_status;
|
||||
protected $created_at;
|
||||
protected $updated_at;
|
||||
|
||||
public function getBuyerCurrencyCode()
|
||||
{
|
||||
return $this->buyer_currency_code;
|
||||
}
|
||||
|
||||
public function setBuyerCurrencyCode($buyer_currency_code): void
|
||||
{
|
||||
$this->buyer_currency_code = $buyer_currency_code;
|
||||
}
|
||||
|
||||
public function getSellerCurrencyCode()
|
||||
{
|
||||
return $this->seller_currency_code;
|
||||
}
|
||||
|
||||
public function setSellerCurrencyCode($seller_currency_code): void
|
||||
{
|
||||
$this->seller_currency_code = $seller_currency_code;
|
||||
}
|
||||
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setId($id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function getSn()
|
||||
{
|
||||
return $this->sn;
|
||||
}
|
||||
|
||||
public function setSn($sn): void
|
||||
{
|
||||
$this->sn = $sn;
|
||||
}
|
||||
|
||||
public function getPayStatus()
|
||||
{
|
||||
return $this->pay_status;
|
||||
}
|
||||
|
||||
public function setPayStatus($pay_status): void
|
||||
{
|
||||
$this->pay_status = $pay_status;
|
||||
}
|
||||
|
||||
public function getBuyerUid()
|
||||
{
|
||||
return $this->buyer_uid;
|
||||
}
|
||||
|
||||
public function setBuyerUid($buyer_uid): void
|
||||
{
|
||||
$this->buyer_uid = $buyer_uid;
|
||||
}
|
||||
|
||||
public function getSellerUid()
|
||||
{
|
||||
return $this->seller_uid;
|
||||
}
|
||||
|
||||
public function setSellerUid($seller_uid): void
|
||||
{
|
||||
$this->seller_uid = $seller_uid;
|
||||
}
|
||||
|
||||
public function getPid()
|
||||
{
|
||||
return $this->pid;
|
||||
}
|
||||
|
||||
public function setPid($pid): void
|
||||
{
|
||||
$this->pid = $pid;
|
||||
}
|
||||
|
||||
public function getPostHistoryId()
|
||||
{
|
||||
return $this->post_history_id;
|
||||
}
|
||||
|
||||
public function setPostHistoryId($post_history_id): void
|
||||
{
|
||||
$this->post_history_id = $post_history_id;
|
||||
}
|
||||
|
||||
public function getAmount()
|
||||
{
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
public function setAmount($amount): void
|
||||
{
|
||||
$this->amount = $amount;
|
||||
}
|
||||
|
||||
public function getBuyerWalletTransactionId()
|
||||
{
|
||||
return $this->buyer_wallet_transaction_id;
|
||||
}
|
||||
|
||||
public function setBuyerWalletTransactionId($buyer_wallet_transaction_id): void
|
||||
{
|
||||
$this->buyer_wallet_transaction_id = $buyer_wallet_transaction_id;
|
||||
}
|
||||
|
||||
public function getSellerWalletTransactionId()
|
||||
{
|
||||
return $this->seller_wallet_transaction_id;
|
||||
}
|
||||
|
||||
public function setSellerWalletTransactionId($seller_wallet_transaction_id): void
|
||||
{
|
||||
$this->seller_wallet_transaction_id = $seller_wallet_transaction_id;
|
||||
}
|
||||
|
||||
public function getWalletCheckbookId()
|
||||
{
|
||||
return $this->wallet_checkbook_id;
|
||||
}
|
||||
|
||||
public function setWalletCheckbookId($wallet_checkbook_id): void
|
||||
{
|
||||
$this->wallet_checkbook_id = $wallet_checkbook_id;
|
||||
}
|
||||
|
||||
public function getDisputeStatus()
|
||||
{
|
||||
return $this->dispute_status;
|
||||
}
|
||||
|
||||
public function setDisputeStatus($dispute_status): void
|
||||
{
|
||||
$this->dispute_status = $dispute_status;
|
||||
}
|
||||
|
||||
public function getDisputeResultStatus()
|
||||
{
|
||||
return $this->dispute_result_status;
|
||||
}
|
||||
|
||||
public function setDisputeResultStatus($dispute_result_status): void
|
||||
{
|
||||
$this->dispute_result_status = $dispute_result_status;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
121
app/Bean/Model/Api/Wallet/CustomerWalletBalanceBean.php
Normal file
121
app/Bean/Model/Api/Wallet/CustomerWalletBalanceBean.php
Normal file
@ -0,0 +1,121 @@
|
||||
<?php
|
||||
|
||||
namespace App\Bean\Model\Api\Wallet;
|
||||
|
||||
use App\Bean\Model\Base\BaseBean;
|
||||
|
||||
class CustomerWalletBalanceBean extends BaseBean
|
||||
{
|
||||
protected $id;
|
||||
protected $uid;
|
||||
protected $currency_code;
|
||||
protected $total_amount;
|
||||
protected $frozen_amount;
|
||||
protected $available_amount;
|
||||
protected $security_amount;
|
||||
protected $recharge_wallet_addr;
|
||||
protected $created_at;
|
||||
protected $updated_at;
|
||||
|
||||
public function getId()
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
public function setId($id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
public function getUid()
|
||||
{
|
||||
return $this->uid;
|
||||
}
|
||||
|
||||
public function setUid($uid): void
|
||||
{
|
||||
$this->uid = $uid;
|
||||
}
|
||||
|
||||
public function getCurrencyCode()
|
||||
{
|
||||
return $this->currency_code;
|
||||
}
|
||||
|
||||
public function setCurrencyCode($currency_code): void
|
||||
{
|
||||
$this->currency_code = $currency_code;
|
||||
}
|
||||
|
||||
public function getTotalAmount()
|
||||
{
|
||||
return $this->total_amount;
|
||||
}
|
||||
|
||||
public function setTotalAmount($total_amount): void
|
||||
{
|
||||
$this->total_amount = $total_amount;
|
||||
}
|
||||
|
||||
public function getFrozenAmount()
|
||||
{
|
||||
return $this->frozen_amount;
|
||||
}
|
||||
|
||||
public function setFrozenAmount($frozen_amount): void
|
||||
{
|
||||
$this->frozen_amount = $frozen_amount;
|
||||
}
|
||||
|
||||
public function getAvailableAmount()
|
||||
{
|
||||
return $this->available_amount;
|
||||
}
|
||||
|
||||
public function setAvailableAmount($available_amount): void
|
||||
{
|
||||
$this->available_amount = $available_amount;
|
||||
}
|
||||
|
||||
public function getSecurityAmount()
|
||||
{
|
||||
return $this->security_amount;
|
||||
}
|
||||
|
||||
public function setSecurityAmount($security_amount): void
|
||||
{
|
||||
$this->security_amount = $security_amount;
|
||||
}
|
||||
|
||||
public function getRechargeWalletAddr()
|
||||
{
|
||||
return $this->recharge_wallet_addr;
|
||||
}
|
||||
|
||||
public function setRechargeWalletAddr($recharge_wallet_addr): void
|
||||
{
|
||||
$this->recharge_wallet_addr = $recharge_wallet_addr;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user