FEATURE #1552 @1h: save sent messages into database
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\ContactForm\Entities;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class SentEmail extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'from',
|
||||
'to',
|
||||
'subject',
|
||||
'message'
|
||||
];
|
||||
protected $casts = ['is_new' => 'boolean'];
|
||||
}
|
||||
Reference in New Issue
Block a user