You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.8 KiB
Dart
69 lines
1.8 KiB
Dart
class DriveThroughTestingCenterModel {
|
|
int rowID;
|
|
int iD;
|
|
int projectID;
|
|
String setupID;
|
|
double longitude;
|
|
double latitude;
|
|
int numberOfTracks;
|
|
bool isActive;
|
|
int createdBy;
|
|
String createdOn;
|
|
dynamic editedBy;
|
|
dynamic editedON;
|
|
dynamic projectName;
|
|
dynamic projectNameN;
|
|
|
|
DriveThroughTestingCenterModel(
|
|
{this.rowID,
|
|
this.iD,
|
|
this.projectID,
|
|
this.setupID,
|
|
this.longitude,
|
|
this.latitude,
|
|
this.numberOfTracks,
|
|
this.isActive,
|
|
this.createdBy,
|
|
this.createdOn,
|
|
this.editedBy,
|
|
this.editedON,
|
|
this.projectName,
|
|
this.projectNameN});
|
|
|
|
DriveThroughTestingCenterModel.fromJson(Map<String, dynamic> json) {
|
|
rowID = json['RowID'];
|
|
iD = json['ID'];
|
|
projectID = json['ProjectID'];
|
|
setupID = json['SetupID'];
|
|
longitude = json['Longitude'];
|
|
latitude = json['Latitude'];
|
|
numberOfTracks = json['NumberOfTracks'];
|
|
isActive = json['IsActive'];
|
|
createdBy = json['CreatedBy'];
|
|
createdOn = json['CreatedOn'];
|
|
editedBy = json['EditedBy'];
|
|
editedON = json['EditedON'];
|
|
projectName = json['ProjectName'];
|
|
projectNameN = json['ProjectNameN'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['RowID'] = this.rowID;
|
|
data['ID'] = this.iD;
|
|
data['ProjectID'] = this.projectID;
|
|
data['SetupID'] = this.setupID;
|
|
data['Longitude'] = this.longitude;
|
|
data['Latitude'] = this.latitude;
|
|
data['NumberOfTracks'] = this.numberOfTracks;
|
|
data['IsActive'] = this.isActive;
|
|
data['CreatedBy'] = this.createdBy;
|
|
data['CreatedOn'] = this.createdOn;
|
|
data['EditedBy'] = this.editedBy;
|
|
data['EditedON'] = this.editedON;
|
|
data['ProjectName'] = this.projectName;
|
|
data['ProjectNameN'] = this.projectNameN;
|
|
return data;
|
|
}
|
|
}
|