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
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace Database\Factories;
use App\Models\SmsProfile;
use App\Models\SmsSender;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<SmsSender>
*/
class SmsSenderFactory extends Factory
{
protected $model = SmsSender::class;
public function definition(): array
{
return [
'profile_id' => SmsProfile::factory(),
'sname' => strtoupper($this->faker->lexify('SND??')),
'description' => $this->faker->sentence(4),
'active' => true,
];
}
}