<?php

namespace App\Models\Core\Mail;

use App\Traits\HasTranslations;
use Spatie\MailTemplates\Models\MailTemplate as parentMailTemplate;
use Venturecraft\Revisionable\RevisionableTrait;
use Wildside\Userstamps\Userstamps;

class MailTemplate extends parentMailTemplate
{
    use HasTranslations, RevisionableTrait, Userstamps;

    public $translatable = ['subject', 'html_template', 'text_template'];

    protected $revisionCreationsEnabled = false;

    protected $keepRevisionOf = ['subject', 'html_template', 'text_template'];
}
