You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/app/Models/CloudInvoice.php

27 lines
707 B
PHTML

<?php
namespace App\Models;
final class CloudInvoice extends Model
{
protected $connection = 'default';
protected $table = 'cloud_invoices';
protected $casts = [
'id' => 'int',
'instance_id' => 'int',
'order_id' => 'int',
'user_id' => 'int',
'plan_id' => 'int',
'offer_id' => 'int',
'renewal_id' => 'int',
'renews_expires_at' => 'int',
'due_at' => 'int',
'amount' => 'decimal:2',
'validity_days' => 'int',
'traffic_quota_bytes' => 'int',
'paid_at' => 'int',
'created_at' => 'int',
'updated_at' => 'int',
];
protected $hidden = ['invoice_no', 'payment_reference'];
}