server/app/Model/Trade.php

55 lines
1.5 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $trade_id
* @property int $org_id
* @property int $merchant_id
* @property string $trade_no
* @property int $ori_trade_id
* @property string $subject
* @property string $appid
* @property string $openid
* @property string $ip
* @property int $timeout
* @property string $amount
* @property int $channel_id
* @property int $merchant_channel_id
* @property int $pay_status
* @property string $out_transaction_id
* @property string $mer_transaction_id
* @property string $transaction_id
* @property int $trade_type
* @property string $auth_code
* @property string $platform
* @property string $period
* @property string $card_type
* @property int $source
* @property string $succ_time
* @property string $fail_time
* @property string $fail_msg
* @property string $create_time
* @property string $update_time
* @property string $deleted_at
*/
class Trade extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'trade';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['trade_id' => 'integer', 'org_id' => 'integer', 'merchant_id' => 'integer', 'ori_trade_id' => 'integer', 'timeout' => 'integer', 'channel_id' => 'integer', 'merchant_channel_id' => 'integer', 'pay_status' => 'integer', 'trade_type' => 'integer', 'source' => 'integer'];
}