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.
28 lines
761 B
Dart
28 lines
761 B
Dart
class SiteContactInfoModel {
|
|
int? id;
|
|
int? assetGroupId;
|
|
int? siteId;
|
|
String? siteName;
|
|
String? phoneNumber;
|
|
|
|
SiteContactInfoModel({this.id, this.assetGroupId, this.siteId, this.siteName, this.phoneNumber});
|
|
|
|
SiteContactInfoModel.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
assetGroupId = json['assetGroupId'];
|
|
siteId = json['siteId'];
|
|
siteName = json['siteName'];
|
|
phoneNumber = json['phoneNumber'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['assetGroupId'] = this.assetGroupId;
|
|
data['siteId'] = this.siteId;
|
|
data['siteName'] = this.siteName;
|
|
data['phoneNumber'] = this.phoneNumber;
|
|
return data;
|
|
}
|
|
}
|