/* Options: Date: 2026-06-26 19:51:52 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ExportPurchaseHistoryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/purchase-history/export", "GET") class ExportPurchaseHistoryRequest implements IReturn, IConvertible, IGet { String? name; int? workflowId; int? equipmentId; int? providerId; DateTime? createdFrom; DateTime? createdTo; bool? onlyMissingEquipment; ExportPurchaseHistoryRequest({this.name,this.workflowId,this.equipmentId,this.providerId,this.createdFrom,this.createdTo,this.onlyMissingEquipment}); ExportPurchaseHistoryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; workflowId = json['workflowId']; equipmentId = json['equipmentId']; providerId = json['providerId']; createdFrom = JsonConverters.fromJson(json['createdFrom'],'DateTime',context!); createdTo = JsonConverters.fromJson(json['createdTo'],'DateTime',context!); onlyMissingEquipment = json['onlyMissingEquipment']; return this; } Map toJson() => { 'name': name, 'workflowId': workflowId, 'equipmentId': equipmentId, 'providerId': providerId, 'createdFrom': JsonConverters.toJson(createdFrom,'DateTime',context!), 'createdTo': JsonConverters.toJson(createdTo,'DateTime',context!), 'onlyMissingEquipment': onlyMissingEquipment }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "ExportPurchaseHistoryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'ExportPurchaseHistoryRequest': TypeInfo(TypeOf.Class, create:() => ExportPurchaseHistoryRequest()), });