/* Options: Date: 2025-12-06 07:50:16 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: MallAddOrUpdatePlaceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasPlaceIdOrMallId { int? placeId; int? mallId; } class MallAddOrUpdatePlaceResponse implements IConvertible { int? mallId; int? placeId; String? floor; MallAddOrUpdatePlaceResponse({this.mallId,this.placeId,this.floor}); MallAddOrUpdatePlaceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { mallId = json['mallId']; placeId = json['placeId']; floor = json['floor']; return this; } Map toJson() => { 'mallId': mallId, 'placeId': placeId, 'floor': floor }; getTypeName() => "MallAddOrUpdatePlaceResponse"; TypeContext? context = _ctx; } // @Route("/mall/add_or_update_place", "POST") class MallAddOrUpdatePlaceRequest implements IReturn, IPost, IHasPlaceIdOrMallId, IConvertible { // @Validate(Validator="NotNull") int? placeId; // @Validate(Validator="NotNull") int? mallId; String? floor; MallAddOrUpdatePlaceRequest({this.placeId,this.mallId,this.floor}); MallAddOrUpdatePlaceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; mallId = json['mallId']; floor = json['floor']; return this; } Map toJson() => { 'placeId': placeId, 'mallId': mallId, 'floor': floor }; createResponse() => MallAddOrUpdatePlaceResponse(); getResponseTypeName() => "MallAddOrUpdatePlaceResponse"; getTypeName() => "MallAddOrUpdatePlaceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasPlaceIdOrMallId': TypeInfo(TypeOf.Interface), 'MallAddOrUpdatePlaceResponse': TypeInfo(TypeOf.Class, create:() => MallAddOrUpdatePlaceResponse()), 'MallAddOrUpdatePlaceRequest': TypeInfo(TypeOf.Class, create:() => MallAddOrUpdatePlaceRequest()), });