""" Options: Date: 2025-04-04 17:29:31 Version: 5.140 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.clubmanagercentral.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: FindBranchStatistic.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BranchStatisticInstance: active_red_alerts: int = 0 active_green_alerts: int = 0 active_sleepers: int = 0 actives_attended_fifty: int = 0 fourteen_dayers: int = 0 attended_last7_dayers: int = 0 active_missed_payments: int = 0 contract_extenders: int = 0 pre_pay_expiring: int = 0 seven_day_started: int = 0 # @Route("/api/Query/BranchStatistic") # @AutoQueryViewer(Description="", IconUrl="octicon:database", Title="BranchStatistic") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FindBranchStatistic(QueryDb[BranchStatisticInstance], IReturn[QueryResponse[BranchStatisticInstance]]): pass