krgm.so-manager-dev.com/app/Models/SettlementTransaction.php
kin.rinzen 5c1b33cedc
All checks were successful
Deploy main / deploy (push) Successful in 21s
SWA-67/SWA-80/SWA-89 画面修正
2025-10-01 18:00:19 +09:00

35 lines
731 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SettlementTransaction extends Model
{
protected $table = 'settlement_transaction';
protected $primaryKey = 'settlement_transaction_id';
public $timestamps = true;
protected $fillable = [
'contract_id',
'status',
'pay_code',
'contract_payment_number',
'corp_code',
'mms_date',
'cvs_code',
'shop_code',
'pay_date',
'settlement_amount',
'stamp_flag',
'md5_string',
];
// 日付型キャスト
protected $casts = [
'created_at' => 'datetime',
'updated_at' => 'datetime',
'pay_date' => 'datetime',
];
}