<?php

namespace App\Models\EmailTemplates;

use Illuminate\Database\Eloquent\Model;
use App\Models\EmailTemplates\Traits\Attribute\EmailTemplateAttribute;
use Illuminate\Database\Eloquent\SoftDeletes;

class EmailTemplate extends Model
{
    use EmailTemplateAttribute,
        SoftDeletes;

    /**
     * The database table used by the model.
     *
     * @var string
     */
    protected $table;

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);
    	$this->table = config("access.email_templates_table");
    }
}
