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