feat(doctors): add activity start date field with Persian calendar in admin panel

This commit is contained in:
hamed
2026-07-02 11:35:59 +03:30
parent 4565f521c4
commit 0a1e03d0ce
9 changed files with 257 additions and 1 deletions
+3
View File
@@ -295,6 +295,9 @@ Delete a user.
|-------|------|----------|-------------|
| `mobile` | string | ✅ | موبایل ورود؛ باید فرمت معتبر موبایل ایران داشته باشد (`^09\d{9}$`) — ارقام فارسی/عربی به انگلیسی نرمال می‌شوند |
| `name` | string | ✅ | نام پزشک |
| `gender` / `degree` / `medical_system_code` / `info` | string | ❌ | اطلاعات حرفه‌ای |
| `activity_time` | integer | ❌ | Unix timestamp (ثانیه) تاریخ شروع فعالیت؛ مبنای محاسبهٔ سال تجربه |
| `specialties` | integer[] | ❌ | آرایهٔ IDهای تخصص |
#### Errors
| Code | HTTP | Description |
+1
View File
@@ -34,6 +34,7 @@ Create a doctor profile for the authenticated user.
| `info` | string | ❌ | Bio/description |
| `specialties` | integer[] | ❌ | Array of specialty IDs |
| `doctor_services` | integer[] | ❌ | Array of doctor service IDs |
| `activity_time` | integer | ❌ | Unix timestamp (ثانیه) تاریخ شروع فعالیت؛ مبنای محاسبهٔ `experience` (سال تجربه) در پاسخ |
### Response `201`
```json
+1
View File
@@ -349,6 +349,7 @@ Get yearly earnings dashboard for a representation.
| `mobile` | string | ✅ |
| `name` | string | ✅ |
| `gender` / `degree` / `medical_system_code` / `info` | string | ❌ |
| `activity_time` | integer (Unix ts، تاریخ شروع فعالیت) | ❌ |
| `specialties` | integer[] | ❌ |
#### Response `201`