/* Options: Date: 2025-12-06 07:50:56 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: MallRemoveOtherServiceRequest.* //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 MallRemoveOtherServiceResponse implements IConvertible { MallOtherServiceDto? deleted; MallRemoveOtherServiceResponse({this.deleted}); MallRemoveOtherServiceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { deleted = JsonConverters.fromJson(json['deleted'],'MallOtherServiceDto',context!); return this; } Map toJson() => { 'deleted': JsonConverters.toJson(deleted,'MallOtherServiceDto',context!) }; getTypeName() => "MallRemoveOtherServiceResponse"; TypeContext? context = _ctx; } // @Route("/mall/remove_other_service", "DELETE") class MallRemoveOtherServiceRequest implements IReturn, IDelete, IHasMallOtherServiceId, IConvertible { int? mallOtherServiceId; MallRemoveOtherServiceRequest({this.mallOtherServiceId}); MallRemoveOtherServiceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mallOtherServiceId = json['mallOtherServiceId']; return this; } Map toJson() => { 'mallOtherServiceId': mallOtherServiceId }; createResponse() => MallRemoveOtherServiceResponse(); getResponseTypeName() => "MallRemoveOtherServiceResponse"; getTypeName() => "MallRemoveOtherServiceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasMallOtherServiceId': TypeInfo(TypeOf.Interface), 'MallOtherServiceDto': TypeInfo(TypeOf.Class, create:() => MallOtherServiceDto()), 'MallRemoveOtherServiceResponse': TypeInfo(TypeOf.Class, create:() => MallRemoveOtherServiceResponse()), 'MallRemoveOtherServiceRequest': TypeInfo(TypeOf.Class, create:() => MallRemoveOtherServiceRequest()), });