doctor list

This commit is contained in:
Samandar Turgunboyev
2025-11-29 11:49:26 +05:00
parent 83efa1f24a
commit bcf9d7cd2b
20 changed files with 872 additions and 438 deletions

View File

@@ -50,3 +50,45 @@ export const doctorListData: DoctorListType[] = [
long: ObjectListData[1].long,
},
];
export interface DoctorListRes {
status_code: number;
status: string;
message: string;
data: {
count: number;
next: string;
previous: string;
results: DoctorListResData[];
};
}
export interface DoctorListResData {
id: number;
first_name: string;
last_name: string;
phone_number: string;
work_place: string;
sphere: string;
description: string;
district: {
id: number;
name: string;
};
place: {
id: number;
name: string;
};
user: {
id: number;
first_name: string;
last_name: string;
};
longitude: number;
latitude: number;
extra_location: {
latitude: number;
longitude: number;
};
created_at: string;
}