<?php

namespace App\Modules\SMS\Models;

use Illuminate\Database\Eloquent\Model;


class SmsTemplate extends Model
{
    protected $table = 'sms_templates';

    protected $fillable =
        ['id', 'template_type', 'template_id', 'content', 'created_at','updated_at'];

   public static function get_sms_template($template_type){
   	 return self::where('template_type',$template_type)->first();
   }
   
}