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.
25 lines
684 B
Dart
25 lines
684 B
Dart
class IncidentAttachments {
|
|
num? id;
|
|
num? incidentId;
|
|
String? attachmentName;
|
|
String? attachmentDescription;
|
|
|
|
IncidentAttachments({this.id, this.attachmentName, this.incidentId, this.attachmentDescription});
|
|
|
|
IncidentAttachments.fromJson(dynamic json) {
|
|
id = json['id'];
|
|
incidentId = json['incidentId'];
|
|
attachmentName = json['attachmentName'];
|
|
attachmentDescription = json['attachmentDescription'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final map = <String, dynamic>{};
|
|
map['id'] = id;
|
|
map['attachmentName'] = attachmentName;
|
|
map['incidentId'] = incidentId;
|
|
map['attachmentDescription'] = attachmentDescription;
|
|
return map;
|
|
}
|
|
}
|