This commit is contained in:
nurmuhammet committed 2025-09-25 03:03:31 +05:00
commit ae480cf2f6
2768 files changed
+1485826

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Models\CMS\Marketing;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Newsletter extends Model
{
use HasFactory;
/**
* The table associated with the model.
*/
protected $table = 'newsletters';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'subject',
'content',
'sent',
];
}
@@ -0,0 +1,23 @@
<?php
namespace App\Models\CMS\Marketing;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class NewsletterUser extends Model
{
use HasFactory;
/**
* The table associated with the model.
*/
protected $table = 'newsletter_users';
/**
* The attributes that are mass assignable.
*/
protected $fillable = [
'email',
];
}