|
|
|
|
@ -28,6 +28,7 @@ class DemoRequestModel {
|
|
|
|
|
SupplierDetails? supplier;
|
|
|
|
|
SuppEngineerWorkOrders? suppPerson;
|
|
|
|
|
Lookup? status;
|
|
|
|
|
Lookup? endUserStatus;
|
|
|
|
|
List<DemoAttachments>? demoAttachments;
|
|
|
|
|
List<DemoAttachments>? supplierDemoAttachments;
|
|
|
|
|
dynamic demoAsset;
|
|
|
|
|
@ -58,6 +59,7 @@ class DemoRequestModel {
|
|
|
|
|
this.supplier,
|
|
|
|
|
this.suppPerson,
|
|
|
|
|
this.status,
|
|
|
|
|
this.endUserStatus,
|
|
|
|
|
this.demoAttachments,
|
|
|
|
|
this.supplierDemoAttachments,
|
|
|
|
|
this.demoAsset,
|
|
|
|
|
@ -89,6 +91,7 @@ class DemoRequestModel {
|
|
|
|
|
supplier = json['supplier'] != null ? (SupplierDetails.fromJson(json['supplier'])) : null;
|
|
|
|
|
suppPerson = json['suppPerson'] != null ? (SuppEngineerWorkOrders.fromJson(json['suppPerson'])) : null;
|
|
|
|
|
status = json['status'] != null ? (Lookup.fromJson(json['status'])) : null;
|
|
|
|
|
endUserStatus = json['endUserStatus'] != null ? (Lookup.fromJson(json['endUserStatus'])) : null;
|
|
|
|
|
demoAttachments = json['demoAttachments'] != null ? (json['demoAttachments'] as List).map((e) => DemoAttachments.fromJson(e)).toList() : null;
|
|
|
|
|
supplierDemoAttachments = json['supplierDemoAttachments'] != null ? (json['supplierDemoAttachments'] as List).map((e) => DemoAttachments.fromJson(e)).toList() : null;
|
|
|
|
|
demoAsset = json['demoAsset'];
|
|
|
|
|
|