/* Options: Date: 2026-09-01 05:08:31 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api-stage.smartfarmertech.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ProductsHarvestsAutoQueryDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ProductsHarvests implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() // @References(typeof(Tenants)) int? tenantsId; // @DataMember(Order=3) // @required() // @References(typeof(Zones)) int? zonesId; // @DataMember(Order=4) // @required() // @References(typeof(Products)) int? productsId; // @DataMember(Order=5) // @required() String? harvestDescription; // @DataMember(Order=6) // @required() int? quarters; // @DataMember(Order=7) // @required() int? qtyG; // @DataMember(Order=8) // @required() bool? Final; ProductsHarvests({this.id,this.tenantsId,this.zonesId,this.productsId,this.harvestDescription,this.quarters,this.qtyG,this.Final}); ProductsHarvests.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; zonesId = json['zonesId']; productsId = json['productsId']; harvestDescription = json['harvestDescription']; quarters = json['quarters']; qtyG = json['qtyG']; Final = json['final']; return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'zonesId': zonesId, 'productsId': productsId, 'harvestDescription': harvestDescription, 'quarters': quarters, 'qtyG': qtyG, 'final': Final }; getTypeName() => "ProductsHarvests"; TypeContext? context = _ctx; } class ProductsHarvestsAutoQueryDelete implements IReturnVoid, IDeleteDb, IConvertible, IDelete { // @DataMember(Order=1) int? id; // @DataMember(Order=10) ResponseStatus? responseStatus; ProductsHarvestsAutoQueryDelete({this.id,this.responseStatus}); ProductsHarvestsAutoQueryDelete.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; createResponse() {} getTypeName() => "ProductsHarvestsAutoQueryDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_stage.smartfarmertech.com', types: { 'ProductsHarvests': TypeInfo(TypeOf.Class, create:() => ProductsHarvests()), 'ProductsHarvestsAutoQueryDelete': TypeInfo(TypeOf.Class, create:() => ProductsHarvestsAutoQueryDelete()), });