SMS service

This commit is contained in:
Simon Pocrnjič
2025-10-24 21:39:10 +02:00
parent 3a2eed7dda
commit 930ac83604
52 changed files with 3830 additions and 36 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class SmsSender extends Model
{
use HasFactory;
protected $table = 'sms_senders';
protected $fillable = [
'profile_id',
'sname',
'phone_number',
'description',
'active',
];
protected $casts = [
'active' => 'boolean',
];
public function profile()
{
return $this->belongsTo(SmsProfile::class, 'profile_id');
}
}