api.so-manager-dev.com/app/Models/PaymentTransaction.php
Your Name f139a3f608
All checks were successful
Deploy api / deploy (push) Successful in 22s
支払いAPI実装
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:02:25 +09:00

47 lines
1008 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
/**
* 決済トランザクションモデル
*/
class PaymentTransaction extends Model
{
protected $table = 'payment_transaction';
protected $primaryKey = 'payment_transaction_id';
public $timestamps = true;
protected $fillable = [
'syuno_recv_num',
'payment_type',
'status',
'amount',
'pay_limit',
'kessai_no',
'payment_number',
'name_kanji',
'name_kana',
'tel',
'subscription_flg',
'paid_datetime',
'store_code',
'cvs_code',
'refund_amount',
'refund_status',
'refund_id',
'free_area',
'wellnet_response',
];
protected $casts = [
'free_area' => 'array',
'paid_datetime' => 'datetime',
'pay_limit' => 'datetime',
'amount' => 'integer',
'subscription_flg' => 'integer',
'refund_amount' => 'integer',
];
}