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.
cloudsolutions-atoms/lib/modules/demo_module/models/demo_attachment_model.dart

34 lines
1.0 KiB
Dart

//TODO : need to remove this class
// import 'package:test_sa/models/lookup.dart';
//
// class DemoAttachments {
// int? id;
// num? demoRequestId;
// Lookup? documentType;
// String? attachmentName;
// String? originalName;
//
// DemoAttachments({this.id, this.documentType, this.attachmentName, this.demoRequestId, this.originalName});
//
// DemoAttachments.fromJson(dynamic json) {
// id = json['id'];
// documentType = json['documentType'] != null ? Lookup.fromJson(json['documentType']) : null;
// demoRequestId = json['demoRequestId'];
// attachmentName = json['attachmentName'];
// originalName = json['originalName'];
// }
//
// Map<String, dynamic> toJson() {
// final map = <String, dynamic>{};
// map['id'] = id;
// if(documentType!=null){
// map['documentTypeId'] = documentType?.id;
// }
// map['attachmentName'] = attachmentName;
// map['demoRequestId'] = demoRequestId;
// map['originalName'] = originalName;
// return map;
// }
// }