/* Options: Date: 2025-12-06 07:51:03 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: MallUpdateOtherServiceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasMallOtherServiceId { int? mallOtherServiceId; } class MallOtherServiceDto implements IConvertible { int? id; String? serviceName; String? floor; MallOtherServiceDto({this.id,this.serviceName,this.floor}); MallOtherServiceDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; serviceName = json['serviceName']; floor = json['floor']; return this; } Map toJson() => { 'id': id, 'serviceName': serviceName, 'floor': floor }; getTypeName() => "MallOtherServiceDto"; TypeContext? context = _ctx; } class MallUpdateOtherServiceResponse implements IConvertible { MallOtherServiceDto? updated; MallUpdateOtherServiceResponse({this.updated}); MallUpdateOtherServiceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { updated = JsonConverters.fromJson(json['updated'],'MallOtherServiceDto',context!); return this; } Map toJson() => { 'updated': JsonConverters.toJson(updated,'MallOtherServiceDto',context!) }; getTypeName() => "MallUpdateOtherServiceResponse"; TypeContext? context = _ctx; } // @Route("/mall/update_other_service", "POST") class MallUpdateOtherServiceRequest implements IReturn, IPost, IHasMallOtherServiceId, IConvertible { int? mallOtherServiceId; String? floor; String? serviceName; MallUpdateOtherServiceRequest({this.mallOtherServiceId,this.floor,this.serviceName}); MallUpdateOtherServiceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mallOtherServiceId = json['mallOtherServiceId']; floor = json['floor']; serviceName = json['serviceName']; return this; } Map toJson() => { 'mallOtherServiceId': mallOtherServiceId, 'floor': floor, 'serviceName': serviceName }; createResponse() => MallUpdateOtherServiceResponse(); getResponseTypeName() => "MallUpdateOtherServiceResponse"; getTypeName() => "MallUpdateOtherServiceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasMallOtherServiceId': TypeInfo(TypeOf.Interface), 'MallOtherServiceDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceDto()), 'MallUpdateOtherServiceResponse': TypeInfo(TypeOf.Class, create:() => MallUpdateOtherServiceResponse()), 'MallUpdateOtherServiceRequest': TypeInfo(TypeOf.Class, create:() => MallUpdateOtherServiceRequest()), });