add dashboard mailbox, added usage log, pending-switch email, mailbox history, email history

This commit is contained in:
Gitea
2025-05-04 19:39:53 +05:30
parent 6e2a750c4e
commit 3b9967a749
15 changed files with 1129 additions and 112 deletions

23
app/Models/UsageLog.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UsageLog extends Model
{
protected $fillable = [
'user_id',
'ip_address',
'emails_created_count',
'emails_received_count',
'emails_created_history',
'emails_received_history',
];
protected $casts = [
'emails_created_history' => 'array',
'emails_received_history' => 'array',
];
}