You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.2 KiB
49 lines
1.2 KiB
2 years ago
|
class AcDoctorResponseModel {
|
||
|
late String fullName;
|
||
|
late String mDoctorID;
|
||
|
AcDoctorResponseModel({
|
||
|
required this.fullName,
|
||
|
required this.mDoctorID,
|
||
|
});
|
||
|
|
||
|
AcDoctorResponseModel.fromJson(Map<String, dynamic> json) {
|
||
|
fullName = json['FullName'];
|
||
|
mDoctorID = json['M_DoctorID'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = <String, dynamic>{};
|
||
|
data['FullName'] = fullName;
|
||
|
data['M_DoctorID'] = mDoctorID;
|
||
|
return data;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class AcDoctorAddressResponseModel {
|
||
|
late String mDoctorAddressDescription;
|
||
|
late String mDoctorAddressID;
|
||
|
late bool isCheck;
|
||
|
|
||
|
AcDoctorAddressResponseModel({
|
||
|
required this.mDoctorAddressDescription,
|
||
|
required this.mDoctorAddressID,
|
||
|
});
|
||
|
|
||
|
void setIsCheck(bool val) {
|
||
|
isCheck = val;
|
||
|
}
|
||
|
|
||
|
AcDoctorAddressResponseModel.fromJson(Map<String, dynamic> json) {
|
||
|
mDoctorAddressDescription = json['M_DoctorAddressDescription'];
|
||
|
mDoctorAddressID = json['M_DoctorAddressID'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() {
|
||
|
final Map<String, dynamic> data = <String, dynamic>{};
|
||
|
data['M_DoctorAddressDescription'] = mDoctorAddressDescription;
|
||
|
data['M_DoctorAddressID'] = mDoctorAddressID;
|
||
|
data['isCheck'] = isCheck;
|
||
|
return data;
|
||
|
}
|
||
|
}
|