/* Options: Date: 2026-09-01 03:44:41 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: SystemFunctionsAutoQueryAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SystemFunctions implements IConvertible { // @DataMember(Order=1) // @required() int? id; // @DataMember(Order=2) // @required() String? systemFunction; // @DataMember(Order=3) // @required() String? longDescription; SystemFunctions({this.id,this.systemFunction,this.longDescription}); SystemFunctions.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; systemFunction = json['systemFunction']; longDescription = json['longDescription']; return this; } Map toJson() => { 'id': id, 'systemFunction': systemFunction, 'longDescription': longDescription }; getTypeName() => "SystemFunctions"; TypeContext? context = _ctx; } class SystemFunctionsAutoQueryAdd implements IReturn, ICreateDb, IConvertible, IPost { // @DataMember(Order=2) String? systemFunction; // @DataMember(Order=3) String? longDescription; // @DataMember(Order=5) ResponseStatus? responseStatus; SystemFunctionsAutoQueryAdd({this.systemFunction,this.longDescription,this.responseStatus}); SystemFunctionsAutoQueryAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemFunction = json['systemFunction']; longDescription = json['longDescription']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'systemFunction': systemFunction, 'longDescription': longDescription, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; createResponse() => SystemFunctions(); getResponseTypeName() => "SystemFunctions"; getTypeName() => "SystemFunctionsAutoQueryAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api_stage.smartfarmertech.com', types: { 'SystemFunctions': TypeInfo(TypeOf.Class, create:() => SystemFunctions()), 'SystemFunctionsAutoQueryAdd': TypeInfo(TypeOf.Class, create:() => SystemFunctionsAutoQueryAdd()), });