/* Options: Date: 2026-04-29 05:24:42 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: NotifyProcurementBatchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class NotifyProcurementBatchResponse implements IConvertible { int? code; String? message; int? sentCount; NotifyProcurementBatchResponse({this.code,this.message,this.sentCount}); NotifyProcurementBatchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { code = json['code']; message = json['message']; sentCount = json['sentCount']; return this; } Map toJson() => { 'code': code, 'message': message, 'sentCount': sentCount }; getTypeName() => "NotifyProcurementBatchResponse"; TypeContext? context = _ctx; } // @Route("/procurement/batch/{Id}/notify", "POST") class NotifyProcurementBatchRequest implements IReturn, IConvertible, IPost { int? id; String? targetType; NotifyProcurementBatchRequest({this.id,this.targetType}); NotifyProcurementBatchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; targetType = json['targetType']; return this; } Map toJson() => { 'id': id, 'targetType': targetType }; createResponse() => NotifyProcurementBatchResponse(); getResponseTypeName() => "NotifyProcurementBatchResponse"; getTypeName() => "NotifyProcurementBatchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'NotifyProcurementBatchResponse': TypeInfo(TypeOf.Class, create:() => NotifyProcurementBatchResponse()), 'NotifyProcurementBatchRequest': TypeInfo(TypeOf.Class, create:() => NotifyProcurementBatchRequest()), });