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.
98 lines
2.7 KiB
Dart
98 lines
2.7 KiB
Dart
import 'dart:convert';
|
|
|
|
class GetEitAttachmentTicket {
|
|
List<GetEitAttachmentList>? getEitAttachmentList;
|
|
|
|
GetEitAttachmentTicket({
|
|
this.getEitAttachmentList,
|
|
});
|
|
|
|
factory GetEitAttachmentTicket.fromRawJson(String str) => GetEitAttachmentTicket.fromJson(json.decode(str));
|
|
|
|
String toRawJson() => json.encode(toJson());
|
|
|
|
factory GetEitAttachmentTicket.fromJson(Map<String, dynamic> json) => GetEitAttachmentTicket(
|
|
getEitAttachmentList: json["GetEITAttachmentList"] == null ? [] : List<GetEitAttachmentList>.from(json["GetEITAttachmentList"]!.map((x) => GetEitAttachmentList.fromJson(x))),
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"GetEITAttachmentList": getEitAttachmentList == null ? [] : List<dynamic>.from(getEitAttachmentList!.map((x) => x.toJson())),
|
|
};
|
|
}
|
|
|
|
class GetEitAttachmentList {
|
|
int? attachedDocumentId;
|
|
int? categoryId;
|
|
int? datatypeId;
|
|
int? documentId;
|
|
String? entityName;
|
|
String? fileContentType;
|
|
String? fileData;
|
|
int? fileId;
|
|
String? fileName;
|
|
String? pk1Value;
|
|
String? pk2Value;
|
|
String? pk3Value;
|
|
String? pk4Value;
|
|
String? pk5Value;
|
|
int? seqNum;
|
|
|
|
GetEitAttachmentList({
|
|
this.attachedDocumentId,
|
|
this.categoryId,
|
|
this.datatypeId,
|
|
this.documentId,
|
|
this.entityName,
|
|
this.fileContentType,
|
|
this.fileData,
|
|
this.fileId,
|
|
this.fileName,
|
|
this.pk1Value,
|
|
this.pk2Value,
|
|
this.pk3Value,
|
|
this.pk4Value,
|
|
this.pk5Value,
|
|
this.seqNum,
|
|
});
|
|
|
|
factory GetEitAttachmentList.fromRawJson(String str) => GetEitAttachmentList.fromJson(json.decode(str));
|
|
|
|
String toRawJson() => json.encode(toJson());
|
|
|
|
factory GetEitAttachmentList.fromJson(Map<String, dynamic> json) => GetEitAttachmentList(
|
|
attachedDocumentId: json["ATTACHED_DOCUMENT_ID"],
|
|
categoryId: json["CATEGORY_ID"],
|
|
datatypeId: json["DATATYPE_ID"],
|
|
documentId: json["DOCUMENT_ID"],
|
|
entityName: json["ENTITY_NAME"],
|
|
fileContentType: json["FILE_CONTENT_TYPE"],
|
|
fileData: json["FILE_DATA"],
|
|
fileId: json["FILE_ID"],
|
|
fileName: json["FILE_NAME"],
|
|
pk1Value: json["PK1_VALUE"],
|
|
pk2Value: json["PK2_VALUE"],
|
|
pk3Value: json["PK3_VALUE"],
|
|
pk4Value: json["PK4_VALUE"],
|
|
pk5Value: json["PK5_VALUE"],
|
|
seqNum: json["SEQ_NUM"],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"ATTACHED_DOCUMENT_ID": attachedDocumentId,
|
|
"CATEGORY_ID": categoryId,
|
|
"DATATYPE_ID": datatypeId,
|
|
"DOCUMENT_ID": documentId,
|
|
"ENTITY_NAME": entityName,
|
|
"FILE_CONTENT_TYPE": fileContentType,
|
|
"FILE_DATA": fileData,
|
|
"FILE_ID": fileId,
|
|
"FILE_NAME": fileName,
|
|
"PK1_VALUE": pk1Value,
|
|
"PK2_VALUE": pk2Value,
|
|
"PK3_VALUE": pk3Value,
|
|
"PK4_VALUE": pk4Value,
|
|
"PK5_VALUE": pk5Value,
|
|
"SEQ_NUM": seqNum,
|
|
};
|
|
}
|