up
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WhatsappMessageTemplate extends Model
|
||||
{
|
||||
protected $table = 'whatsapp_message_templates';
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'template_name', 'language_code', 'status', 'body_text',
|
||||
'header_type', 'header_text', 'footer_text', 'components', 'example_parameters',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'components' => 'array',
|
||||
'example_parameters' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user