feat(doctors): add activity start date field with Persian calendar in admin panel
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user