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