feat: Implement SMS sending functionality with KavehNegar and Rangineh providers
- Add SendSmsMessage class for encapsulating SMS message data. - Create KavehNegarProvider and RanginehProvider classes implementing SmsProviderInterface for sending SMS. - Implement SmsLogRepository and SmsTemplateRepository for managing SMS logs and templates. - Develop SendSmsHandler for handling SMS sending messages. - Create SmsService to manage SMS dispatching and logging. - Add UserProfileController for managing user profiles with CRUD operations. - Implement UserProfile entity and repository for user profile data management. - Update symfony.lock and bootstrap.php for project dependencies and environment setup.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# نکات پیادهسازی — تسک ۱۱: ماژول بیمه
|
||||
|
||||
## رابطه با Categories
|
||||
این ماژول از جدول `categories` برای نام و نوع بیمه استفاده میکند.
|
||||
هنگام create، فقط `insurance_category_id` کافی است.
|
||||
|
||||
## مجوزها
|
||||
```
|
||||
POST → دکتر (برای خودش) یا ROLE_ADMIN
|
||||
GET → دکتر مرتبط یا ROLE_ADMIN
|
||||
PATCH → دکتر مرتبط یا ROLE_ADMIN
|
||||
DELETE → دکتر مرتبط یا ROLE_ADMIN
|
||||
```
|
||||
|
||||
## یکپارچگی با لیست دکتر
|
||||
در endpoint `GET /api/v1/doctors`، بیمههای هر دکتر باید
|
||||
به عنوان فیلد در response ظاهر شوند.
|
||||
Reference in New Issue
Block a user