123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- class HospitalDetail {
- String? msg;
- int? code;
- DataDetail? data;
- HospitalDetail({this.msg, this.code, this.data});
- HospitalDetail.fromJson(Map<String, dynamic> json) {
- msg = json['msg'];
- code = json['code'];
- data = json['data'] != null ? new DataDetail.fromJson(json['data']) : null;
- }
- 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!.toJson();
- }
- return data;
- }
- }
- class DataDetail {
- String? id;
- int? isDel;
- String? createDate;
- String? createUser;
- String? updateDate;
- String? updateUser;
- String? tenantId;
- String? clinicName;
- String? logoPic;
- String? clinicLinkName;
- String? clinicLinkPhone;
- String? city;
- String? cityCode;
- String? detailedAddress;
- String? businessLicenseName;
- String? businessLicenseCode;
- String? medicalInstitutionCode;
- String? businessStartTime;
- String? businessEndTime;
- String? clinicWorkingDays;
- int? operatingYears;
- int? dentalChairsNum;
- int? storeArea;
- String? storeIntroduction;
- String? bannerPic;
- String? medicalInstitutionOccupationalLicense;
- String? scannedCopyBusinessLicense;
- List<String>? clinicWorkingDaysList;
- String? bannerPic1;
- String? bannerPic2;
- String? bannerPic3;
- DataDetail(
- {this.id,
- this.isDel,
- this.createDate,
- this.createUser,
- this.updateDate,
- this.updateUser,
- this.tenantId,
- this.clinicName,
- this.logoPic,
- this.clinicLinkName,
- this.clinicLinkPhone,
- this.city,
- this.cityCode,
- this.detailedAddress,
- this.businessLicenseName,
- this.businessLicenseCode,
- this.medicalInstitutionCode,
- this.businessStartTime,
- this.businessEndTime,
- this.clinicWorkingDays,
- this.operatingYears,
- this.dentalChairsNum,
- this.storeArea,
- this.storeIntroduction,
- this.bannerPic,
- this.medicalInstitutionOccupationalLicense,
- this.scannedCopyBusinessLicense,
- this.clinicWorkingDaysList,
- this.bannerPic1,
- this.bannerPic2,
- this.bannerPic3});
- DataDetail.fromJson(Map<String, dynamic> json) {
- id = json['id'];
- isDel = json['isDel'];
- createDate = json['createDate'];
- createUser = json['createUser'];
- updateDate = json['updateDate'];
- updateUser = json['updateUser'];
- tenantId = json['tenantId'];
- clinicName = json['clinicName'];
- logoPic = json['logoPic'];
- clinicLinkName = json['clinicLinkName'];
- clinicLinkPhone = json['clinicLinkPhone'];
- city = json['city'];
- cityCode = json['cityCode'];
- detailedAddress = json['detailedAddress'];
- businessLicenseName = json['businessLicenseName'];
- businessLicenseCode = json['businessLicenseCode'];
- medicalInstitutionCode = json['medicalInstitutionCode'];
- businessStartTime = json['businessStartTime'];
- businessEndTime = json['businessEndTime'];
- clinicWorkingDays = json['clinicWorkingDays'];
- operatingYears = json['operatingYears'];
- dentalChairsNum = json['dentalChairsNum'];
- storeArea = json['storeArea'];
- storeIntroduction = json['storeIntroduction'];
- bannerPic = json['bannerPic'];
- medicalInstitutionOccupationalLicense =
- json['medicalInstitutionOccupationalLicense'];
- scannedCopyBusinessLicense = json['scannedCopyBusinessLicense'];
- clinicWorkingDaysList = json['clinicWorkingDaysList']?.cast<String>();
- bannerPic1 = json['bannerPic1'];
- bannerPic2 = json['bannerPic2'];
- bannerPic3 = json['bannerPic3'];
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['id'] = this.id;
- data['isDel'] = this.isDel;
- data['createDate'] = this.createDate;
- data['createUser'] = this.createUser;
- data['updateDate'] = this.updateDate;
- data['updateUser'] = this.updateUser;
- data['tenantId'] = this.tenantId;
- data['clinicName'] = this.clinicName;
- data['logoPic'] = this.logoPic;
- data['clinicLinkName'] = this.clinicLinkName;
- data['clinicLinkPhone'] = this.clinicLinkPhone;
- data['city'] = this.city;
- data['cityCode'] = this.cityCode;
- data['detailedAddress'] = this.detailedAddress;
- data['businessLicenseName'] = this.businessLicenseName;
- data['businessLicenseCode'] = this.businessLicenseCode;
- data['medicalInstitutionCode'] = this.medicalInstitutionCode;
- data['businessStartTime'] = this.businessStartTime;
- data['businessEndTime'] = this.businessEndTime;
- data['clinicWorkingDays'] = this.clinicWorkingDays;
- data['operatingYears'] = this.operatingYears;
- data['dentalChairsNum'] = this.dentalChairsNum;
- data['storeArea'] = this.storeArea;
- data['storeIntroduction'] = this.storeIntroduction;
- data['bannerPic'] = this.bannerPic;
- data['medicalInstitutionOccupationalLicense'] =
- this.medicalInstitutionOccupationalLicense;
- data['scannedCopyBusinessLicense'] = this.scannedCopyBusinessLicense;
- data['clinicWorkingDaysList'] = this.clinicWorkingDaysList;
- data['bannerPic1'] = this.bannerPic1;
- data['bannerPic2'] = this.bannerPic2;
- data['bannerPic3'] = this.bannerPic3;
- return data;
- }
- }
|