/* Options: Date: 2025-12-06 09:20:36 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProductsUnitsLookup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/products_units", "GET") // @DataContract class ProductsUnitsLookup implements IReturn>, IConvertible, IGet { // @DataMember(Order=2) int? tenantsId; // @DataMember(Order=3) int? zonesId; // @DataMember(Order=4) int? productsId; // @DataMember(Order=5) String? units; // @DataMember(Order=6) String? description; // @DataMember(Order=7) int? weight; ProductsUnitsLookup({this.tenantsId,this.zonesId,this.productsId,this.units,this.description,this.weight}); ProductsUnitsLookup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { tenantsId = json['tenantsId']; zonesId = json['zonesId']; productsId = json['productsId']; units = json['units']; description = json['description']; weight = json['weight']; return this; } Map toJson() => { 'tenantsId': tenantsId, 'zonesId': zonesId, 'productsId': productsId, 'units': units, 'description': description, 'weight': weight }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "ProductsUnitsLookup"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'ProductsUnitsLookup': TypeInfo(TypeOf.Class, create:() => ProductsUnitsLookup()), });