<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Relations\BelongsTo;

/** PRC-619 — communication_template_contents alias'ı (morph/ilişki geriye-uyumu). */
class SmsTemplateContent extends CommunicationTemplateContent
{
    protected $table = 'communication_template_contents';

    public function template(): BelongsTo
    {
        return $this->belongsTo(SmsTemplate::class, 'template_id');
    }
}
