/* Options: Date: 2026-09-01 02:42:20 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: GeneralInfoAutoQueryDelete.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GeneralInfo implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() // @References(typeof(Tenants)) int? tenantsId; // @DataMember(Order=3) // @required() String? sections; GeneralInfo({this.id,this.tenantsId,this.sections}); GeneralInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; tenantsId = json['tenantsId']; sections = json['sections']; return this; } Map toJson() => { 'id': id, 'tenantsId': tenantsId, 'sections': sections }; getTypeName() => "GeneralInfo"; TypeContext? context = _ctx; } class GeneralInfoAutoQueryDelete implements IReturnVoid, IDeleteDb, IConvertible, IDelete { // @DataMember(Order=1) int? id; // @DataMember(Order=5) ResponseStatus? responseStatus; GeneralInfoAutoQueryDelete({this.id,this.responseStatus}); GeneralInfoAutoQueryDelete.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() => "GeneralInfoAutoQueryDelete"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_stage.smartfarmertech.com', types: { 'GeneralInfo': TypeInfo(TypeOf.Class, create:() => GeneralInfo()), 'GeneralInfoAutoQueryDelete': TypeInfo(TypeOf.Class, create:() => GeneralInfoAutoQueryDelete()), });