updated params
parent
e685cc9575
commit
2e215f7a5e
@ -1,50 +1,50 @@
|
|||||||
class RoomTicketModel {
|
// class RoomTicketModel {
|
||||||
int? rowID;
|
// int? rowID;
|
||||||
int? id;
|
// int? id;
|
||||||
int? floorID;
|
// int? floorID;
|
||||||
int? buildingID;
|
// int? buildingID;
|
||||||
int? projectID;
|
// int? projectID;
|
||||||
String? roomName;
|
// String? roomName;
|
||||||
String? roomNameN;
|
// String? roomNameN;
|
||||||
int? roomNo;
|
// int? roomNo;
|
||||||
String? roomQScreenIP;
|
// String? roomQScreenIP;
|
||||||
bool? isActive;
|
// bool? isActive;
|
||||||
int? createdBy;
|
// int? createdBy;
|
||||||
String? createdOn;
|
// String? createdOn;
|
||||||
String? editedBy;
|
// String? editedBy;
|
||||||
String? editedOn;
|
// String? editedOn;
|
||||||
|
//
|
||||||
RoomTicketModel({
|
// RoomTicketModel({
|
||||||
this.rowID,
|
// this.rowID,
|
||||||
this.id,
|
// this.id,
|
||||||
this.floorID,
|
// this.floorID,
|
||||||
this.buildingID,
|
// this.buildingID,
|
||||||
this.projectID,
|
// this.projectID,
|
||||||
this.roomName,
|
// this.roomName,
|
||||||
this.roomNameN,
|
// this.roomNameN,
|
||||||
this.roomNo,
|
// this.roomNo,
|
||||||
this.roomQScreenIP,
|
// this.roomQScreenIP,
|
||||||
this.isActive,
|
// this.isActive,
|
||||||
this.createdBy,
|
// this.createdBy,
|
||||||
this.createdOn,
|
// this.createdOn,
|
||||||
this.editedBy,
|
// this.editedBy,
|
||||||
this.editedOn,
|
// this.editedOn,
|
||||||
});
|
// });
|
||||||
|
//
|
||||||
RoomTicketModel.fromJson(Map<String, dynamic> json) {
|
// RoomTicketModel.fromJson(Map<String, dynamic> json) {
|
||||||
rowID = json['rowID'];
|
// rowID = json['rowID'];
|
||||||
id = json['id'];
|
// id = json['id'];
|
||||||
floorID = json['floorID'];
|
// floorID = json['floorID'];
|
||||||
buildingID = json['buildingID'];
|
// buildingID = json['buildingID'];
|
||||||
projectID = json['projectID'];
|
// projectID = json['projectID'];
|
||||||
roomName = json['roomName'];
|
// roomName = json['roomName'];
|
||||||
roomNameN = json['roomNameN'];
|
// roomNameN = json['roomNameN'];
|
||||||
roomNo = json['roomNo'];
|
// roomNo = json['roomNo'];
|
||||||
roomQScreenIP = json['roomQScreenIP'];
|
// roomQScreenIP = json['roomQScreenIP'];
|
||||||
isActive = json['isActive'];
|
// isActive = json['isActive'];
|
||||||
createdBy = json['createdBy'];
|
// createdBy = json['createdBy'];
|
||||||
createdOn = json['createdOn'];
|
// createdOn = json['createdOn'];
|
||||||
editedBy = json['editedBy'];
|
// editedBy = json['editedBy'];
|
||||||
editedOn = json['editedOn'];
|
// editedOn = json['editedOn'];
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|||||||
@ -1,53 +1,53 @@
|
|||||||
class WidgetsConfigModel {
|
// class WidgetsConfigModel {
|
||||||
int? waitingAreaID;
|
// int? waitingAreaID;
|
||||||
String? waitingAreaName;
|
// String? waitingAreaName;
|
||||||
int? projectID;
|
// int? projectID;
|
||||||
double? projectLatitude;
|
// double? projectLatitude;
|
||||||
double? projectLongitude;
|
// double? projectLongitude;
|
||||||
int? cityKey;
|
// int? cityKey;
|
||||||
bool isWeatherReq = false;
|
// bool isWeatherReq = false;
|
||||||
bool isPrayerTimeReq = false;
|
// bool isPrayerTimeReq = false;
|
||||||
bool isRssFeedReq = false;
|
// bool isRssFeedReq = false;
|
||||||
|
//
|
||||||
WidgetsConfigModel({
|
// WidgetsConfigModel({
|
||||||
this.waitingAreaID,
|
// this.waitingAreaID,
|
||||||
this.waitingAreaName,
|
// this.waitingAreaName,
|
||||||
this.isWeatherReq = false,
|
// this.isWeatherReq = false,
|
||||||
this.isPrayerTimeReq = false,
|
// this.isPrayerTimeReq = false,
|
||||||
this.isRssFeedReq = false,
|
// this.isRssFeedReq = false,
|
||||||
this.projectID,
|
// this.projectID,
|
||||||
this.projectLatitude,
|
// this.projectLatitude,
|
||||||
this.projectLongitude,
|
// this.projectLongitude,
|
||||||
this.cityKey,
|
// this.cityKey,
|
||||||
});
|
// });
|
||||||
|
//
|
||||||
WidgetsConfigModel.fromJson(Map<String, dynamic> json) {
|
// WidgetsConfigModel.fromJson(Map<String, dynamic> json) {
|
||||||
waitingAreaID = json['waitingAreaID'];
|
// waitingAreaID = json['waitingAreaID'];
|
||||||
waitingAreaName = json['waitingAreaName'];
|
// waitingAreaName = json['waitingAreaName'];
|
||||||
isRssFeedReq = json['isRssFeedReq'] ?? false;
|
// isRssFeedReq = json['isRssFeedReq'] ?? false;
|
||||||
isWeatherReq = json['isWeatherReq'] ?? false;
|
// isWeatherReq = json['isWeatherReq'] ?? false;
|
||||||
isPrayerTimeReq = json['isPrayerTimeReq'] ?? false;
|
// isPrayerTimeReq = json['isPrayerTimeReq'] ?? false;
|
||||||
projectID = json['projectID'];
|
// projectID = json['projectID'];
|
||||||
projectLatitude = json['projectLatitude'];
|
// projectLatitude = json['projectLatitude'];
|
||||||
projectLongitude = json['projectLongitude'];
|
// projectLongitude = json['projectLongitude'];
|
||||||
cityKey = json['cityKey'];
|
// cityKey = json['cityKey'];
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
Map<String, dynamic> toJson() {
|
// Map<String, dynamic> toJson() {
|
||||||
final Map<String, dynamic> data = <String, dynamic>{};
|
// final Map<String, dynamic> data = <String, dynamic>{};
|
||||||
data['waitingAreaID'] = waitingAreaID;
|
// data['waitingAreaID'] = waitingAreaID;
|
||||||
data['waitingAreaName'] = waitingAreaName;
|
// data['waitingAreaName'] = waitingAreaName;
|
||||||
data['isWeatherReq'] = isWeatherReq;
|
// data['isWeatherReq'] = isWeatherReq;
|
||||||
data['isPrayerTimeReq'] = isPrayerTimeReq;
|
// data['isPrayerTimeReq'] = isPrayerTimeReq;
|
||||||
data['projectID'] = projectID;
|
// data['projectID'] = projectID;
|
||||||
data['projectLatitude'] = projectLatitude;
|
// data['projectLatitude'] = projectLatitude;
|
||||||
data['projectLongitude'] = projectLongitude;
|
// data['projectLongitude'] = projectLongitude;
|
||||||
data['cityKey'] = cityKey;
|
// data['cityKey'] = cityKey;
|
||||||
return data;
|
// return data;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@override
|
// @override
|
||||||
String toString() {
|
// String toString() {
|
||||||
return 'WidgetsConfigModel{waitingAreaID: $waitingAreaID, waitingAreaName: $waitingAreaName, isWeatherReq: $isWeatherReq, isPrayerTimeReq: $isPrayerTimeReq, projectLatitude: $projectLatitude,projectLongitude: $projectLongitude, cityKey: $cityKey}';
|
// return 'WidgetsConfigModel{waitingAreaID: $waitingAreaID, waitingAreaName: $waitingAreaName, isWeatherReq: $isWeatherReq, isPrayerTimeReq: $isPrayerTimeReq, projectLatitude: $projectLatitude,projectLongitude: $projectLongitude, cityKey: $cityKey}';
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|||||||
Loading…
Reference in New Issue