add SMSpanel

This commit is contained in:
2026-07-04 11:55:10 +03:30
parent 1ce2e73ea9
commit 163097f42a
22 changed files with 6683 additions and 2214 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SmsLedger extends Model
{
public $timestamps = false;
protected $table = 'sms_ledger';
protected $fillable = [
'type',
'amount',
'balance_after',
'price_per_part',
'parts',
'sms_send_log_id',
'note',
'created_by',
'created_at',
];
protected $casts = [
'amount' => 'integer',
'balance_after' => 'integer',
'price_per_part' => 'integer',
'parts' => 'integer',
'created_at' => 'datetime',
];
}