This commit is contained in:
2026-08-15 13:37:07 +03:30
commit ed719317f3
76 changed files with 14009 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class Payment
*
* @property int $id
* @property int $user_id
* @property int $payable_id
* @property float $amount
* @property string $authority
* @property string $transaction_id
* @property int $status
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @package App\Models
*/
class Payment extends Model
{
protected $table = 'payments';
public static $snakeAttributes = false;
protected $casts = [
'user_id' => 'int',
'payable_id' => 'int',
'amount' => 'float',
'status' => 'int'
];
protected $fillable = [
'user_id',
'payable_id',
'amount',
'authority',
'transaction_id',
'status'
];
}