|
|
|
|
@ -1,3 +1,5 @@
|
|
|
|
|
import 'package:doctor_app_flutter/config/config.dart';
|
|
|
|
|
|
|
|
|
|
class RequestDoctorReply {
|
|
|
|
|
int projectID;
|
|
|
|
|
int doctorID;
|
|
|
|
|
@ -13,18 +15,18 @@ class RequestDoctorReply {
|
|
|
|
|
bool patientOutSA;
|
|
|
|
|
|
|
|
|
|
RequestDoctorReply(
|
|
|
|
|
{this.projectID = 15,
|
|
|
|
|
this.doctorID = 70907,
|
|
|
|
|
this.transactionNo = 0,
|
|
|
|
|
this.languageID = 2,
|
|
|
|
|
this.stamp = '2020-04-27T12:17:17.721Z',
|
|
|
|
|
this.iPAdress = '11.11.11.11',
|
|
|
|
|
this.versionID = 1.2,
|
|
|
|
|
this.channel = 9,
|
|
|
|
|
this.tokenID = '@dm!n',
|
|
|
|
|
this.sessionID = '2Z7FX4Lokp',
|
|
|
|
|
this.isLoginForDoctorApp = true,
|
|
|
|
|
this.patientOutSA = false});
|
|
|
|
|
{this.projectID ,
|
|
|
|
|
this.doctorID ,
|
|
|
|
|
this.transactionNo = TRANSACTION_NO,
|
|
|
|
|
this.languageID = LANGUAGE_ID,
|
|
|
|
|
this.stamp = STAMP,
|
|
|
|
|
this.iPAdress = IP_ADDRESS,
|
|
|
|
|
this.versionID = VERSION_ID,
|
|
|
|
|
this.channel = CHANNEL,
|
|
|
|
|
this.tokenID ,
|
|
|
|
|
this.sessionID = SESSION_ID,
|
|
|
|
|
this.isLoginForDoctorApp = IS_LOGIN_FOR_DOCTOR_APP,
|
|
|
|
|
this.patientOutSA = PATIENT_OUT_SA});
|
|
|
|
|
|
|
|
|
|
RequestDoctorReply.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
|