/* Options: Date: 2025-12-06 05:24:35 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ChangeProductCategory.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/cmd/products/change/category", "POST") class ChangeProductCategory implements IReturn, IConvertible, IPost { String? id; String? category; ChangeProductCategory({this.id,this.category}); ChangeProductCategory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; category = json['category']; return this; } Map toJson() => { 'id': id, 'category': category }; createResponse() => ResponseStatus(); getResponseTypeName() => "ResponseStatus"; getTypeName() => "ChangeProductCategory"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.sbbet.ath.cx', types: { 'ChangeProductCategory': TypeInfo(TypeOf.Class, create:() => ChangeProductCategory()), });