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.
53 lines
1.5 KiB
Dart
53 lines
1.5 KiB
Dart
class GetTransactionAttachmentModel {
|
|
int? attachmentId;
|
|
String? fileName;
|
|
String? contentType;
|
|
dynamic attachFileStream;
|
|
String? base64String;
|
|
dynamic isActive;
|
|
dynamic referenceItemId;
|
|
dynamic content;
|
|
dynamic filePath;
|
|
int? languageId;
|
|
|
|
GetTransactionAttachmentModel(
|
|
{this.attachmentId,
|
|
this.fileName,
|
|
this.contentType,
|
|
this.attachFileStream,
|
|
this.base64String,
|
|
this.isActive,
|
|
this.referenceItemId,
|
|
this.content,
|
|
this.filePath,
|
|
this.languageId});
|
|
|
|
GetTransactionAttachmentModel.fromJson(Map<String, dynamic> json) {
|
|
attachmentId = json['attachmentId'];
|
|
fileName = json['fileName'];
|
|
contentType = json['contentType'];
|
|
attachFileStream = json['attachFileStream'];
|
|
base64String = json['base64String'];
|
|
isActive = json['isActive'];
|
|
referenceItemId = json['referenceItemId'];
|
|
content = json['content'];
|
|
filePath = json['filePath'];
|
|
languageId = json['languageId'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
Map<String, dynamic> data = Map<String, dynamic>();
|
|
data['attachmentId'] = this.attachmentId;
|
|
data['fileName'] = this.fileName;
|
|
data['contentType'] = this.contentType;
|
|
data['attachFileStream'] = this.attachFileStream;
|
|
data['base64String'] = this.base64String;
|
|
data['isActive'] = this.isActive;
|
|
data['referenceItemId'] = this.referenceItemId;
|
|
data['content'] = this.content;
|
|
data['filePath'] = this.filePath;
|
|
data['languageId'] = this.languageId;
|
|
return data;
|
|
}
|
|
}
|