- 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.
25 lines
1020 B
Markdown
25 lines
1020 B
Markdown
# تسک ۱۱: ماژول بیمه
|
|
|
|
## توضیح
|
|
مدیریت بیمههای مرتبط با دکتر یا کلینیک (بیمههایی که دکتر میپذیرد).
|
|
|
|
## Endpoint ها
|
|
|
|
| متد | مسیر | توضیح | نیاز به Auth |
|
|
|-----|------|-------|-------------|
|
|
| POST | `/api/v1/insurance/` | ایجاد رابطه بیمه | بله (Doctor/Admin) |
|
|
| GET | `/api/v1/insurance/{id}` | دریافت اطلاعات بیمه | بله |
|
|
| PATCH | `/api/v1/insurance/{id}` | ویرایش بیمه | بله |
|
|
| DELETE | `/api/v1/insurance/{id}` | حذف بیمه | بله |
|
|
|
|
## پیشنیازها
|
|
- تسک ۰۱، ۰۲، ۰۵ (Doctor)، ۰۸ (Categories)
|
|
|
|
## زمان تخمینی
|
|
۳ تا ۴ ساعت
|
|
|
|
## توضیح
|
|
این ماژول مشخص میکند که یک دکتر کدام بیمهها را میپذیرد.
|
|
دادههای اصلی بیمه در ماژول Categories هستند (تسک ۰۸).
|
|
این جدول رابطه دکتر ↔ بیمه را ذخیره میکند.
|