/* Options: Date: 2025-12-06 13:08:20 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: ReadAndImportDataApi.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IHttpFile { String? name; String? fileName; int? contentLength; String? contentType; Uint8List? inputStream; } class ReadExcelResponse implements IConvertible { List>? rows; double? maxColumnR; ReadExcelResponse({this.rows,this.maxColumnR}); ReadExcelResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rows = JsonConverters.fromJson(json['rows'],'List>',context!); maxColumnR = JsonConverters.toDouble(json['maxColumnR']); return this; } Map toJson() => { 'rows': JsonConverters.toJson(rows,'List>',context!), 'maxColumnR': maxColumnR }; getTypeName() => "ReadExcelResponse"; TypeContext? context = _ctx; } // @Route("/import-from-excel", "Post") class ReadAndImportDataApi implements IReturn, IConvertible, IPost { IHttpFile? dataFile; bool? isInternal; ReadAndImportDataApi({this.dataFile,this.isInternal}); ReadAndImportDataApi.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dataFile = JsonConverters.fromJson(json['dataFile'],'IHttpFile',context!); isInternal = json['isInternal']; return this; } Map toJson() => { 'dataFile': JsonConverters.toJson(dataFile,'IHttpFile',context!), 'isInternal': isInternal }; createResponse() => ReadExcelResponse(); getResponseTypeName() => "ReadExcelResponse"; getTypeName() => "ReadAndImportDataApi"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'etc_api.vsmlab.vn', types: { 'IHttpFile': TypeInfo(TypeOf.Interface), 'ReadExcelResponse': TypeInfo(TypeOf.Class, create:() => ReadExcelResponse()), 'List>': TypeInfo(TypeOf.Class, create:() => >[]), 'ReadAndImportDataApi': TypeInfo(TypeOf.Class, create:() => ReadAndImportDataApi()), });