接单员与财务管理

This commit is contained in:
liu
2026-06-17 10:35:13 +08:00
parent 254823e308
commit 8d52e863b9
110 changed files with 6054 additions and 570 deletions
+36
View File
@@ -0,0 +1,36 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* 统一三方支付流水模型
*/
class PaymentTransactionModel extends Model
{
protected $table = 'payment_transactions';
protected $fillable = [
'transaction_no',
'out_trade_no',
'pay_type',
'amount',
'status',
'business_type',
'business_id',
'user_id',
'openid',
'raw_data',
'paid_at',
];
protected $casts = [
'amount' => 'decimal:2',
'status' => 'integer',
'business_id' => 'integer',
'user_id' => 'integer',
'raw_data' => 'array',
'paid_at' => 'datetime',
];
}