донат шоп, управление магазином, яндекс метрика
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PaymentInvoice extends Model
|
||||
{
|
||||
public const STATUS_PENDING = 'pending';
|
||||
|
||||
public const STATUS_PAID = 'paid';
|
||||
|
||||
public const MODE_TEST = 'test';
|
||||
|
||||
public const MODE_PRODUCTION = 'production';
|
||||
|
||||
protected $connection = 'azerothcore_auth';
|
||||
|
||||
protected $table = 'payment_invoices';
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return ['amount' => 'decimal:2', 'paid_at' => 'datetime'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user