All checks were successful
Deploy api / deploy (push) Successful in 22s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1008 B
PHP
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',
|
|
];
|
|
}
|