<?php
 namespace App\Models; use Illuminate\Database\Eloquent\Relations\BelongsTo; class SmsTemplateContent extends CommunicationTemplateContent { protected $table = 'communication_template_contents'; public function template(): BelongsTo { return $this->belongsTo(SmsTemplate::class, 'template_id'); } } 