123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- class ChatList {
- String? msg;
- int? code;
- List<Data>? data;
- ChatList({this.msg, this.code, this.data});
- ChatList.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;
- String? roleIds;
- String? postIds;
- String? postNames;
- String? roleId;
- String? physicianQualificationCertificatePic;
- String? medicalPracticingCertificatePic;
- String? physicianQualificationCertificateNum;
- String? medicalPracticingCertificateNum;
- int? showPatient;
- String? doctorProficient;
- String? doctorBlurb;
- String? number;
- 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.roleIds,
- this.postIds,
- this.postNames,
- this.roleId,
- this.physicianQualificationCertificatePic,
- this.medicalPracticingCertificatePic,
- this.physicianQualificationCertificateNum,
- this.medicalPracticingCertificateNum,
- this.showPatient,
- this.doctorProficient,
- this.doctorBlurb,
- this.number,
- 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'];
- 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'];
- number = json['number'];
- 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;
- 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['number'] = this.number;
- data['admin'] = this.admin;
- return data;
- }
- }
|