Create Doctor Response working fine
parent
bf8ac21122
commit
854f42ce96
@ -0,0 +1,48 @@
|
||||
class CreateDoctorResponseModel {
|
||||
String setupID;
|
||||
int projectID;
|
||||
String transactionNo;
|
||||
int infoEnteredBy;
|
||||
int infoStatus;
|
||||
int createdBy;
|
||||
int editedBy;
|
||||
String doctorResponse;
|
||||
int doctorID;
|
||||
|
||||
CreateDoctorResponseModel(
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.transactionNo,
|
||||
this.infoEnteredBy,
|
||||
this.infoStatus,
|
||||
this.createdBy,
|
||||
this.editedBy,
|
||||
this.doctorResponse,
|
||||
this.doctorID});
|
||||
|
||||
CreateDoctorResponseModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
transactionNo = json['TransactionNo'];
|
||||
infoEnteredBy = json['InfoEnteredBy'];
|
||||
infoStatus = json['InfoStatus'];
|
||||
createdBy = json['CreatedBy'];
|
||||
editedBy = json['EditedBy'];
|
||||
doctorResponse = json['DoctorResponse'];
|
||||
doctorID = json['DoctorID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['SetupID'] = this.setupID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['TransactionNo'] = this.transactionNo;
|
||||
data['InfoEnteredBy'] = this.infoEnteredBy;
|
||||
data['InfoStatus'] = this.infoStatus;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['EditedBy'] = this.editedBy;
|
||||
data['DoctorResponse'] = this.doctorResponse;
|
||||
data['DoctorID'] = this.doctorID;
|
||||
return data;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue