123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- class DoctorListEntity {
- String? msg;
- int? code;
- List<Data>? data;
- DoctorListEntity({this.msg, this.code, this.data});
- DoctorListEntity.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? createBy;
- String? createTime;
- String? updateBy;
- String? updateTime;
- String? remark;
- int? userId;
- int? deptId;
- String? userName;
- String? nickName;
- String? email;
- String? phonenumber;
- String? sex;
- String? avatar;
- String? password;
- String? status;
- String? delFlag;
- String? loginIp;
- String? loginDate;
- Dept? dept;
- String? roleIds;
- String? postIds;
- String? postNames;
- String? roleId;
- String? physicianQualificationCertificatePic;
- String? medicalPracticingCertificatePic;
- String? physicianQualificationCertificateNum;
- String? medicalPracticingCertificateNum;
- int? showPatient;
- String? doctorProficient;
- String? doctorBlurb;
- int? isFree;
- String? deptName;
- int? isCollection;
- int? receivePatientNum;
- bool? admin;
- Data(
- {this.createBy,
- this.createTime,
- this.updateBy,
- this.updateTime,
- this.remark,
- this.userId,
- this.deptId,
- this.userName,
- this.nickName,
- this.email,
- this.phonenumber,
- this.sex,
- this.avatar,
- this.password,
- this.status,
- this.delFlag,
- this.loginIp,
- this.loginDate,
- this.dept,
- this.roleIds,
- this.postIds,
- this.postNames,
- this.roleId,
- this.physicianQualificationCertificatePic,
- this.medicalPracticingCertificatePic,
- this.physicianQualificationCertificateNum,
- this.medicalPracticingCertificateNum,
- this.showPatient,
- this.doctorProficient,
- this.doctorBlurb,
- this.isFree,
- this.deptName,
- this.isCollection,
- this.receivePatientNum,
- this.admin});
- Data.fromJson(Map<String, dynamic> json) {
- createBy = json['createBy'];
- createTime = json['createTime'];
- updateBy = json['updateBy'];
- updateTime = json['updateTime'];
- remark = json['remark'];
- userId = json['userId'];
- deptId = json['deptId'];
- userName = json['userName'];
- nickName = json['nickName'];
- email = json['email'];
- phonenumber = json['phonenumber'];
- sex = json['sex'];
- avatar = json['avatar'];
- password = json['password'];
- status = json['status'];
- delFlag = json['delFlag'];
- loginIp = json['loginIp'];
- loginDate = json['loginDate'];
- dept = json['dept'] != null ? new Dept.fromJson(json['dept']) : null;
- roleIds = json['roleIds'];
- postIds = json['postIds'];
- postNames = json['postNames'];
- roleId = json['roleId'];
- physicianQualificationCertificatePic =
- json['physicianQualificationCertificatePic'];
- medicalPracticingCertificatePic = json['medicalPracticingCertificatePic'];
- physicianQualificationCertificateNum =
- json['physicianQualificationCertificateNum'];
- medicalPracticingCertificateNum = json['medicalPracticingCertificateNum'];
- showPatient = json['showPatient'];
- doctorProficient = json['doctorProficient'];
- doctorBlurb = json['doctorBlurb'];
- isFree = json['isFree'];
- deptName = json['deptName'];
- isCollection = json['isCollection'];
- receivePatientNum = json['receivePatientNum'];
- admin = json['admin'];
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['createBy'] = this.createBy;
- data['createTime'] = this.createTime;
- data['updateBy'] = this.updateBy;
- data['updateTime'] = this.updateTime;
- data['remark'] = this.remark;
- data['userId'] = this.userId;
- data['deptId'] = this.deptId;
- data['userName'] = this.userName;
- data['nickName'] = this.nickName;
- data['email'] = this.email;
- data['phonenumber'] = this.phonenumber;
- data['sex'] = this.sex;
- data['avatar'] = this.avatar;
- data['password'] = this.password;
- data['status'] = this.status;
- data['delFlag'] = this.delFlag;
- data['loginIp'] = this.loginIp;
- data['loginDate'] = this.loginDate;
- if (this.dept != null) {
- data['dept'] = this.dept!.toJson();
- }
- data['roleIds'] = this.roleIds;
- data['postIds'] = this.postIds;
- data['postNames'] = this.postNames;
- data['roleId'] = this.roleId;
- data['physicianQualificationCertificatePic'] =
- this.physicianQualificationCertificatePic;
- data['medicalPracticingCertificatePic'] =
- this.medicalPracticingCertificatePic;
- data['physicianQualificationCertificateNum'] =
- this.physicianQualificationCertificateNum;
- data['medicalPracticingCertificateNum'] =
- this.medicalPracticingCertificateNum;
- data['showPatient'] = this.showPatient;
- data['doctorProficient'] = this.doctorProficient;
- data['doctorBlurb'] = this.doctorBlurb;
- data['isFree'] = this.isFree;
- data['deptName'] = this.deptName;
- data['isCollection'] = this.isCollection;
- data['receivePatientNum'] = this.receivePatientNum;
- data['admin'] = this.admin;
- return data;
- }
- }
- class Dept {
- String? createBy;
- String? createTime;
- String? updateBy;
- String? updateTime;
- String? remark;
- int? deptId;
- String? parentId;
- String? ancestors;
- String? deptName;
- String? orderNum;
- String? leader;
- String? phone;
- String? email;
- String? status;
- String? delFlag;
- String? parentName;
- Dept(
- {this.createBy,
- this.createTime,
- this.updateBy,
- this.updateTime,
- this.remark,
- this.deptId,
- this.parentId,
- this.ancestors,
- this.deptName,
- this.orderNum,
- this.leader,
- this.phone,
- this.email,
- this.status,
- this.delFlag,
- this.parentName});
- Dept.fromJson(Map<String, dynamic> json) {
- createBy = json['createBy'];
- createTime = json['createTime'];
- updateBy = json['updateBy'];
- updateTime = json['updateTime'];
- remark = json['remark'];
- deptId = json['deptId'];
- parentId = json['parentId'];
- ancestors = json['ancestors'];
- deptName = json['deptName'];
- orderNum = json['orderNum'];
- leader = json['leader'];
- phone = json['phone'];
- email = json['email'];
- status = json['status'];
- delFlag = json['delFlag'];
- parentName = json['parentName'];
- }
- Map<String, dynamic> toJson() {
- final Map<String, dynamic> data = new Map<String, dynamic>();
- data['createBy'] = this.createBy;
- data['createTime'] = this.createTime;
- data['updateBy'] = this.updateBy;
- data['updateTime'] = this.updateTime;
- data['remark'] = this.remark;
- data['deptId'] = this.deptId;
- data['parentId'] = this.parentId;
- data['ancestors'] = this.ancestors;
- data['deptName'] = this.deptName;
- data['orderNum'] = this.orderNum;
- data['leader'] = this.leader;
- data['phone'] = this.phone;
- data['email'] = this.email;
- data['status'] = this.status;
- data['delFlag'] = this.delFlag;
- data['parentName'] = this.parentName;
- return data;
- }
- }
|