banxiang/lib/models/hospital.dart
2026-02-17 16:10:18 +08:00

50 lines
821 B
Dart

class Hospital {
String id;
String name;
String address;
List<String> departments;
Hospital({
required this.id,
required this.name,
required this.address,
required this.departments,
});
}
class Doctor {
String id;
String name;
String department;
String title;
String fee;
Doctor({
required this.id,
required this.name,
required this.department,
required this.title,
required this.fee,
});
}
class Appointment {
String id;
String hospitalName;
String doctorName;
String department;
DateTime time;
String status;
String fee;
Appointment({
required this.id,
required this.hospitalName,
required this.doctorName,
required this.department,
required this.time,
required this.status,
required this.fee,
});
}