123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- class AppointmentList {
- String? msg;
- int? code;
- List<Data>? data;
- AppointmentList({this.msg, this.code, this.data});
- AppointmentList.fromJson(Map<String, dynamic> json) {
- msg = json['msg'];
- code = json['code'];
- if (json['data'] != null) {
- data = <Data>[];
- json['data'].forEach((v) {
- data!.add(new Data.fromJson(v));
- });
- }
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['msg'] = this.msg;
- data['code'] = this.code;
- if (this.data != null) {
- data['data'] = this.data!.map((v) => v.toJson()).toList();
- }
- return data;
- }
- }
- class Data {
- String? appointmentId;
- String? medicalRecordNum;
- String? patientName;
- String? patientId;
- String? outpatientService;
- String? identificationCard;
- int? appointmentType;
- String? personalRelationship;
- String? linkPhone;
- String? department;
- int? sex;
- String? attendingDoctor;
- String? attendingDoctorDepCn;
- String? registerUserName;
- String? appointmentStartTime;
- String? appointmentEndTime;
- String? remark;
- int? visitType;
- String? createDate;
- int? appointmentStatus;
- String? groupTime;
- Data(
- {this.appointmentId,
- this.medicalRecordNum,
- this.patientName,
- this.patientId,
- this.outpatientService,
- this.identificationCard,
- this.appointmentType,
- this.personalRelationship,
- this.linkPhone,
- this.department,
- this.sex,
- this.attendingDoctor,
- this.attendingDoctorDepCn,
- this.registerUserName,
- this.appointmentStartTime,
- this.appointmentEndTime,
- this.remark,
- this.visitType,
- this.createDate,
- this.appointmentStatus,
- this.groupTime});
- Data.fromJson(Map<String, dynamic> json) {
- appointmentId = json['appointmentId'];
- medicalRecordNum = json['medicalRecordNum'];
- patientName = json['patientName'];
- patientId = json['patientId'];
- outpatientService = json['outpatientService'];
- identificationCard = json['identificationCard'];
- appointmentType = json['appointmentType'];
- personalRelationship = json['personalRelationship'];
- linkPhone = json['linkPhone'];
- department = json['department'];
- sex = json['sex'];
- attendingDoctor = json['attendingDoctor'];
- attendingDoctorDepCn = json['attendingDoctorDepCn'];
- registerUserName = json['registerUserName'];
- appointmentStartTime = json['appointmentStartTime'];
- appointmentEndTime = json['appointmentEndTime'];
- remark = json['remark'];
- visitType = json['visitType'];
- createDate = json['createDate'];
- appointmentStatus = json['appointmentStatus'];
- groupTime = json['groupTime'];
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['appointmentId'] = this.appointmentId;
- data['medicalRecordNum'] = this.medicalRecordNum;
- data['patientName'] = this.patientName;
- data['patientId'] = this.patientId;
- data['outpatientService'] = this.outpatientService;
- data['identificationCard'] = this.identificationCard;
- data['appointmentType'] = this.appointmentType;
- data['personalRelationship'] = this.personalRelationship;
- data['linkPhone'] = this.linkPhone;
- data['department'] = this.department;
- data['sex'] = this.sex;
- data['attendingDoctor'] = this.attendingDoctor;
- data['attendingDoctorDepCn'] = this.attendingDoctorDepCn;
- data['registerUserName'] = this.registerUserName;
- data['appointmentStartTime'] = this.appointmentStartTime;
- data['appointmentEndTime'] = this.appointmentEndTime;
- data['remark'] = this.remark;
- data['visitType'] = this.visitType;
- data['createDate'] = this.createDate;
- data['appointmentStatus'] = this.appointmentStatus;
- data['groupTime'] = this.groupTime;
- return data;
- }
- }
|