family file work in-progress
							parent
							
								
									cd5da116f9
								
							
						
					
					
						commit
						eafb52ab86
					
				| @ -0,0 +1,105 @@ | |||||||
|  | import 'dart:convert'; | ||||||
|  | 
 | ||||||
|  | class FamilyFileResponseModelLists { | ||||||
|  |   int? id; | ||||||
|  |   int? patientId; | ||||||
|  |   int? responseId; | ||||||
|  |   dynamic relationshipId; | ||||||
|  |   dynamic relationship; | ||||||
|  |   dynamic relationshipN; | ||||||
|  |   int? regionId; | ||||||
|  |   int? familyRegionId; | ||||||
|  |   int? status; | ||||||
|  |   dynamic isActive; | ||||||
|  |   String? editedOn; | ||||||
|  |   String? createdOn; | ||||||
|  |   int? age; | ||||||
|  |   String? emaiLAddress; | ||||||
|  |   int? gender; | ||||||
|  |   String? genderDescription; | ||||||
|  |   String? genderImage; | ||||||
|  |   String? mobileNumber; | ||||||
|  |   int? patientDataVerified; | ||||||
|  |   String? patientIdenficationNumber; | ||||||
|  |   String? patientName; | ||||||
|  |   String? statusDescription; | ||||||
|  | 
 | ||||||
|  |   FamilyFileResponseModelLists({ | ||||||
|  |     this.id, | ||||||
|  |     this.patientId, | ||||||
|  |     this.responseId, | ||||||
|  |     this.relationshipId, | ||||||
|  |     this.relationship, | ||||||
|  |     this.relationshipN, | ||||||
|  |     this.regionId, | ||||||
|  |     this.familyRegionId, | ||||||
|  |     this.status, | ||||||
|  |     this.isActive, | ||||||
|  |     this.editedOn, | ||||||
|  |     this.createdOn, | ||||||
|  |     this.age, | ||||||
|  |     this.emaiLAddress, | ||||||
|  |     this.gender, | ||||||
|  |     this.genderDescription, | ||||||
|  |     this.genderImage, | ||||||
|  |     this.mobileNumber, | ||||||
|  |     this.patientDataVerified, | ||||||
|  |     this.patientIdenficationNumber, | ||||||
|  |     this.patientName, | ||||||
|  |     this.statusDescription, | ||||||
|  |   }); | ||||||
|  | 
 | ||||||
|  |   factory FamilyFileResponseModelLists.fromRawJson(String str) => FamilyFileResponseModelLists.fromJson(json.decode(str)); | ||||||
|  | 
 | ||||||
|  |   String toRawJson() => json.encode(toJson()); | ||||||
|  | 
 | ||||||
|  |   factory FamilyFileResponseModelLists.fromJson(Map<String, dynamic> json) => FamilyFileResponseModelLists( | ||||||
|  |     id: json["ID"], | ||||||
|  |     patientId: json["PatientID"], | ||||||
|  |     responseId: json["ResponseID"], | ||||||
|  |     relationshipId: json["RelationshipID"], | ||||||
|  |     relationship: json["Relationship"], | ||||||
|  |     relationshipN: json["RelationshipN"], | ||||||
|  |     regionId: json["RegionID"], | ||||||
|  |     familyRegionId: json["FamilyRegionID"], | ||||||
|  |     status: json["Status"], | ||||||
|  |     isActive: json["IsActive"], | ||||||
|  |     editedOn: json["EditedOn"], | ||||||
|  |     createdOn: json["CreatedOn"], | ||||||
|  |     age: json["Age"], | ||||||
|  |     emaiLAddress: json["EmaiLAddress"], | ||||||
|  |     gender: json["Gender"], | ||||||
|  |     genderDescription: json["GenderDescription"], | ||||||
|  |     genderImage: json["GenderImage"], | ||||||
|  |     mobileNumber: json["MobileNumber"], | ||||||
|  |     patientDataVerified: json["PatientDataVerified"], | ||||||
|  |     patientIdenficationNumber: json["PatientIdenficationNumber"], | ||||||
|  |     patientName: json["PatientName"], | ||||||
|  |     statusDescription: json["StatusDescription"], | ||||||
|  |   ); | ||||||
|  | 
 | ||||||
|  |   Map<String, dynamic> toJson() => { | ||||||
|  |     "ID": id, | ||||||
|  |     "PatientID": patientId, | ||||||
|  |     "ResponseID": responseId, | ||||||
|  |     "RelationshipID": relationshipId, | ||||||
|  |     "Relationship": relationship, | ||||||
|  |     "RelationshipN": relationshipN, | ||||||
|  |     "RegionID": regionId, | ||||||
|  |     "FamilyRegionID": familyRegionId, | ||||||
|  |     "Status": status, | ||||||
|  |     "IsActive": isActive, | ||||||
|  |     "EditedOn": editedOn, | ||||||
|  |     "CreatedOn": createdOn, | ||||||
|  |     "Age": age, | ||||||
|  |     "EmaiLAddress": emaiLAddress, | ||||||
|  |     "Gender": gender, | ||||||
|  |     "GenderDescription": genderDescription, | ||||||
|  |     "GenderImage": genderImage, | ||||||
|  |     "MobileNumber": mobileNumber, | ||||||
|  |     "PatientDataVerified": patientDataVerified, | ||||||
|  |     "PatientIdenficationNumber": patientIdenficationNumber, | ||||||
|  |     "PatientName": patientName, | ||||||
|  |     "StatusDescription": statusDescription, | ||||||
|  |   }; | ||||||
|  | } | ||||||
					Loading…
					
					
				
		Reference in New Issue