Files
kulakpos_web/Modules/MarketingAddon/App/Models/Template.php
eko54r 05fd3230b8
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped
update marketing
2026-05-14 11:55:22 +07:00

35 lines
586 B
PHP

<?php
namespace Modules\MarketingAddon\App\Models;
use App\Traits\ImageUrlTrait;
use Illuminate\Database\Eloquent\Model;
class Template extends Model
{
use ImageUrlTrait;
protected $fillable = [
'business_id',
'title',
'template',
'type',
'attachment',
'subject',
'variables',
'message',
'status',
];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'variables' => 'array',
];
protected $imageFields = ['attachment'];
}